Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6484

EditorProperty i18n key is not generated properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.2.9
    • framework
    • None

      Steps to reproduce

       Key for EditorProperty is missing subapp, e.g:

       

      stories.yaml
      subApps:
        detail:
          form:
            properties:
              title:
                $type: textField
      

      i18n key generated for the label of title field: stories.title.label

      Expected results

      i18n key generated for the label of title field should include:

      stories.detail.title.label

      stories.detail.form.title.label

      Actual results

      i18n key is missing parents

      Workaround

      Development notes

      Debug on EditorPropertyDefinitionKeyGenerator, and we can see that the parentNames after processed is not as we expect

        Acceptance criteria

              Unassigned Unassigned
              thien.quach Quach Hao Thien
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD