You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2017/08/14 14:18:01 UTC
[jira] [Updated] (OFBIZ-9306) Check there are no white spaces in
the name of a form field when updating a form
[ 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
It seems to me that a name should not be preceded by a white-space. So this uses a trim() to removes all preceding or trailing white-spaces.
I wait a week to see if people agree with this notion before committing...
> Check there are no white spaces in 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
>
>
> 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)