Ticket #13817 (new Bug)
dexterity FTI don't load model_file xml if schema and model_source are missing
Reported by: | jensens | Owned by: | davisagli |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Dexterity | Version: | 4.3 |
Keywords: | dexterity | Cc: |
Description
We tried to load here a model schema xml definition from a file using the Dexterity FTI in the Types Tool profile with the property:
<property name="model_file">dotted.path.schema:schema.xml</property>
Now one may think we do not need anymore the empty properties:
<property name="schema"></property> <property name="model_source"></property>
But if we we skip them, the model_file property is ignored and so nothing is loaded.
This is very confusing and makes no sense at all. It took us about 2h to figure out.
Change History
Note: See
TracTickets for help on using
tickets.
Ok, tested this further, its just happens if model_source is missing. schema does not affect it.
Btw, there is not error or exception if if it is missing, it just ignores model_file.