Closed ponceta closed 8 years ago
Does not come from the ui form.
Found it :
Need to replace the wrong edittype for label_2_visible under the .qgs project under vw_element_valve into something like that
<edittype widgetv2type="ValueRelation" name="label_2_visible">
<widgetv2config OrderByValue="0" AllowNull="0" FilterExpression="" UseCompleter="0" fieldEditable="1" Key="vl_code_int" Layer="vl_visible20130304110011703" Value="value_fr" labelOnTop="0" AllowMulti="0"/>
</edittype>
EDIT does not solve the issue
Hi, I cannot reproduce on master, so either the issue was present at one point in time or you modified the project somehow. Thus, a link to your zipped project + empty db model (or optionally the latest commit in your data model) would shed some light.
Solved : value was not set as relationnal
Creating a new valve item generates a "false" value under the column label_2_visible which makes the saves impossible since integer is expected.
Does not appends when creating from the imported view (not the one set by default on the project).
Trying to fix it through ui forms/valve.ui via qt or .qgs project but did not manage to find a simple workaround yet.
Any hints are welcome!