Skip to content

v4 dev server opens every category with every request #158

@nealey

Description

@nealey

Description

When in devel mode (--puzzles), MOTHv4 appears to open unrelated dynamic (mkcategory) categories for even simple requests like "fetch this PNG from this puzzle in an unrelated category"

Steps to Reproduce

  1. Create a puzzles tree with a mkcategory puzzle that sends something to stderr
  2. Open an attachment in an unrelated category
  3. Observe the stderr message

Expected behavior:

It shouldn't be opening other categories when you have no need for that category. Probably the code is doing some sort of expensive operation just to list categories out, when a mere top-level directory listing would suffice.

You shouldn't see that stderr message.

Actual behavior:

You see it.

Percentage of time it happens:

100%

Versions

v4.1.1

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmothdRelated to the MOTHd production server

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions