Skip to content

Invalid match statement in DynamicSchemaService#property_locale #69

Description

@aploshay

DynamicSchemaService#property_locale currently has:

      return property.to_s.capitalize unless locale_key.match('label' || 'help_text')

which only matches on the 'label' value, whereas

      return property.to_s.capitalize unless locale_key.match(/(label|help_text)/)

matches on either value, as intended.

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