Hello,
think i found a display/edit bug concerning a list of references.
I have a type “SVC Definition” which contains only a textfield, and a type “SVC Selection” which contains a list of (currently up to 6) references to “SVC Definition” objects.
The object type list does show the correct data, but both actions “Preview” and “Edit” do not contain the first element of the corresponding list. Action “Copy” correctly opens the edit form with all elements, but saving it removes the first element from being displayed.
Think that both type definitons are ok:
[
{
"type": "section",
"name": "section-58598",
"label": "SVC Definition",
"fields": [
{
"type": "text",
"name": "text-55317",
"label": "Service Definition"
}
]
}
]
and:
[
{
"type": "section",
"name": "section-36608",
"label": "SVC Selection",
"fields": [
{
"type": "text",
"name": "text-63889",
"label": "SVC Selection Name"
}
]
},
{
"type": "ref-section",
"name": "ref-section-70589",
"label": "SVC Definition 01",
"reference": {
"type_id": 6,
"section_name": "section-58598",
"selected_fields": [
"text-55317"
]
},
"fields": [
{
"type": "ref-section-field",
"name": "ref-section-70589-field",
"label": "SVC Definition 01"
}
]
},
{
"type": "ref-section",
"name": "ref-section-96355",
"label": "SVC Definition 02",
"reference": {
"type_id": 6,
"section_name": "section-58598",
"selected_fields": [
"text-55317"
]
},
"fields": [
{
"type": "ref-section-field",
"name": "ref-section-96355-field",
"label": "SVC Definition 02"
}
]
},
{
"type": "ref-section",
"name": "ref-section-39335",
"label": "SVC Definition 03",
"reference": {
"type_id": 6,
"section_name": "section-58598",
"selected_fields": [
"text-55317"
]
},
"fields": [
{
"type": "ref-section-field",
"name": "ref-section-39335-field",
"label": "SVC Definition 03"
}
]
},
{
"type": "ref-section",
"name": "ref-section-13507",
"label": "SVC Definition 04",
"reference": {
"type_id": 6,
"section_name": "section-58598",
"selected_fields": [
"text-55317"
]
},
"fields": [
{
"type": "ref-section-field",
"name": "ref-section-13507-field",
"label": "SVC Definition 04"
}
]
},
{
"type": "ref-section",
"name": "ref-section-65062",
"label": "SVC Definition 05",
"reference": {
"type_id": 6,
"section_name": "section-58598",
"selected_fields": [
"text-55317"
]
},
"fields": [
{
"type": "ref-section-field",
"name": "ref-section-65062-field",
"label": "SVC Definition 05"
}
]
},
{
"type": "ref-section",
"name": "ref-section-74091",
"label": "SVC Definition 06",
"reference": {
"type_id": 6,
"section_name": "section-58598",
"selected_fields": [
"text-55317"
]
},
"fields": [
{
"type": "ref-section-field",
"name": "ref-section-74091-field",
"label": "SVC Definition 06"
}
]
}
]
(using V2.0 docker, will see if i can attach an image for clarification)
Kind regards, Michael