re3gistry
re3gistry copied to clipboard
Question on field type "definition" set to "longtext"
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"
},
See also the RDF export: