Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-11497

Deprecate the Label field

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12.6.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Story Points:
      1
    • Processed by team:
      Tiger
    • Sprint:
      Tiger Sprint 193

      Description

      The document type editor offers the option to add a field of the type Label. This does not offer more functionality than a regular String field. It was once created to support translatable strings, but that functionality is now offered through Resource Bundles.

      The best way to indicate to developers not to use this type of field anymore is to update the label for it in the list of primitive fields. At the path /hippo:configuration/hippo:translations/hippo:types/hipposys:Label, update all childnodes for all languages.

      In the upgrade instructions for 12.6 we can suggest to update all document types that have a Label field:

      • find all nodes of type hipposysedit:field where the property hipposysedit:type has the value "Label".
      • change this to "String".

      There is no functional change. The already stored data for Label fields does not have to be updated.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bleunis Bert Leunis (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: