Skip to content

504 bug on empty array in field options #20

Description

@rizen
__PACKAGE__->wing_fields(
some_field => {
  dbic => ..
 ...
  options => sub { return [] },
},
);

Passing a sub ref to options, which then ultimately returns an empty array causes a 504 error. It's bad for it to return an empty array anyway. It should never be done. But even so, it should not be a 504 error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions