re3gistry icon indicating copy to clipboard operation
re3gistry copied to clipboard

Question on field type "definition" set to "longtext"

Open heidivanparys opened this issue 3 years ago • 1 comments

What is the reason behind setting the field type of the field definition to `longtext´?

https://github.com/ec-jrc/re3gistry/blob/012ad3bddde9d35c9beef4137cb4202e76c8da67/sources/Re3gistry2JavaAPI/src/main/java/eu/europa/ec/re3gistry2/javaapi/handler/RegInstallationStepCleanInstallationProcessHandler.java#L112

When adding an item via the GUI, for an item class using the field definition, this gives the following (note the <p> tags):

    "definition" : {
      "text" : "<p>item 1</p>",
      "lang" : "da"
    },
    "id" : {
      "text" : "1",
      "lang" : "da"
    },

heidivanparys avatar Nov 23 '21 15:11 heidivanparys

See also the RDF export:

image

heidivanparys avatar Nov 23 '21 15:11 heidivanparys