Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1410 Refactor TBX Import due several structural problems
  3. TRANSLATE-2501

Create table that contains all attribute types of a termCollection

    XMLWordPrintable

Details

    • Critical
    • All available data type attributes for term collection are saved in database.
    • -

    Description

      In the front end we need to know and query efficiently, what types of attributes exist in a specific termCollection and if they are of type textfield, picklist, textarea (currently only definition and note (the comment field)), reference (only the crossreference field on entry-level and the crossreference field on term-level) or image (only the images).

      For this a new table should be created and filled with a migration script based on the data in the new table structure created for the new termPortal

      Additional to be implemented:

      The old unique definition for "attribute labels/new AttributeDataType" with attribute name and type is not enough, since there can be attributes with same name but on different level and different name (ex: <admin type= "source"> . For more info see the tbxbasic standard for this attribute).

      Because of the above problem, the current  AttributeDataType saveOrCreate needs to be adjusted to support that. 

      Maybe migration script to remove duplicates from the labels table (new attribute data type) will be required.

      Attachments

        Activity

          People

            aleksandar Aleksandar Mitrev
            marcmittag Marc Mittag [Administrator]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: