Ticket #332 (closed enhancement: fixed)
Store invalid values (Ontology, Stringlist, Date) in wizardError variable
|Reported by:||t.w.abma@…||Owned by:||t.w.abma@…|
Currently when I set values in an entity like an ontology, stringlist or date value which doesn't fit, it doesn't get stored in the entity. I have a separate map which keeps track of these failed values and I have some JS to update the table editor with these missing values.
Because I am reading directly from Excel and try to put all values in the entity, I will somehow lose the original values if the cannot be set and they also won't be shown in the table editor.
Have talked with Jeroen about this. If the "original" values which cannot be set with setFieldValue() could be put in the wizardError variable then the table editor could retrieve the failed values from the wizardError variable and just put them in the cells, but with a red box or "invalid: value" message in them.