Uploaded image for project: 'Magnolia Templating Essentials'
  1. Magnolia Templating Essentials
  2. MTE-132

Wrong description for title fields are always shown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 2.0
    • None
    • None

    Description

      All fields with the name 'title' are showing the description icon with the following text:

      Enter a title for the link. If no title is entered, either the page URL or the title of the linked content will be used.

       

       

      This translation is specified in the file magnolia-templating-kit-messages_en.properties as "fields.title.description".

       

      The translation now counts for all title fields, and title is a field that is used in almost all dialogs. Also the translation is really specific for a link field and not a generic title field.

      Also this is really bad practice to have a field translated on the most global level, but the translation is specific for another field.

       

      Possible solution: Remove it, or rename it to be more specific for the type of field so it will not interfere with generic fields.

       

      Steps to reproduce

      1.  Create a dialog definition with a title field
      2.  Open that dialog
      3.  Click on the  -icon
      4. The wrong translation is displayed

       

      Expected results

      The  icon should not be there if no description has been provided in the dialog definition, or message-bundle.

      Actual results

      The  - icon is shown behind all title field.

      Workaround

      add the following items to the message bundle of your owne module:

      fields.title.description=

      Development notes

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jdiepeveen Jordie Diepeveen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD