Ticket #13817 (new Bug)

Opened 2 years ago

Last modified 20 months ago

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

comment:1 Changed 2 years ago by jensens

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.

comment:2 Changed 20 months ago by cwainwright

  • Owner set to davisagli
  • Component changed from Unknown to Dexterity
Note: See TracTickets for help on using tickets.