[jira] [Updated] (OFBIZ-9306) Check there are no white spaces around the name of a form field when updating a form

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-9306) Check there are no white spaces around the name of a form field when updating a form

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-9306:
-----------------------------------
    Attachment: OFBIZ-9306-ModelFormField.java.patch

Michael,

Oh right, a new pair of eyes was needed, I did not consider the code above. Here is a new patch.

BTW I wonder what happens when we get null there. I did not check calling locations, I guess it's OK.

> Check there are no white spaces around the name of a form field when updating a form
> ------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-9306
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9306
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL APPLICATIONS
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Release
>
>         Attachments: OFBIZ-9306-ModelFormField.java.patch, OFBIZ-9306-ModelFormField.java.patch
>
>
> Sometimes ago, I lost an hour because of a space at the end of a field's name in a form. In creation it does not pass (the field lacks) but when updating the form it passes and it's hard to find from where comes the problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)