cancel
Showing results for 
Search instead for 
Did you mean: 

i keep getting this error: Conversion Error setting value '' for 'null Converter'. on form submit

mcugwu_
Champ in-the-making
Champ in-the-making

I added a new schema following nuxeo documentation, defined the layout used to render this schema's document model but i keep getting this error on form submit: Conversion Error setting value '' for 'null Converter'.

9 REPLIES 9

LeonardoALARCON
Confirmed Champ
Confirmed Champ

Can you add more information please? What's the schema's type? how you declare the layout? in what moment you get the error?

mcugwu_
Champ in-the-making
Champ in-the-making

More Info as Requested!!!

LeonardoALARCON
Confirmed Champ
Confirmed Champ

the problem is in the widget's definition, you have to put the property with his schema prfix: prefix:property in yout case that will be:

<widget name="unit_code" type="text">
    <labels>
        <label mode="any">Unit ID</label>
    </labels>
    <translated>true</translated>
    <fields>
        <field>unit:code</field> <!-- here you have to change -->
    </fields>
    <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
    </properties>
</widget>

Thanks a lot for the help. Nonetheless, I keep getting property not found warning after modifying to your suggestion. Such warnings are

Why do you declare the schema inside a Facetand then the facet inside the document? Try declaring the schema direct in the document

The warning is still there after I modified to this

And how are you declaring the relationship between your document and the layouts?

<nxl

Thanks a bunch LEANARDO!