[ALF-776] Web Forms: Validation of mandatory xs:boolean types is not working correctly Created: 20-Nov-09  Updated: 31-Aug-16  Resolved: 14-Apr-10

Status: Closed
Project: Alfresco
Component/s: ZZ_Archive
Affects Version/s: 3.1 Enterprise
Fix Version/s: 3.3 Enterprise

Type: Bug Priority: Major
Reporter: Peter Monks [X] (Inactive) Assignee: Closed Bugs (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

n/a


Resource:
External
Date of First Response:

 Description   

Steps to reproduce:
1. create an XML schema that includes a mandatory (minOccurs="1" maxOccurs="1") element of type xs:boolean
2. upload the schema as a new Web Form
3. create content using the Web Form
4. don't touch the checkbox field created for the xs:boolean element
5. click ok

Expected result:

  • content is saved correctly, with the xs:boolean element having a value of "false"

Actual result:

  • an error message is displayed, indicating that the boolean field is mandatory but doesn't have a value

This is incorrect as it does have a value by default - an unchecked checkbox has a value of "false".



 Comments   
Comment by Services Team Unassigned (Inactive) [ 25-Mar-10 ]

Could you please take a look and assign to Belarus if appropriate.

Comment by Steve Rigby [X] (Inactive) [ 12-May-10 ]

For retest in 3.3E build 27

Comment by Alfresco QA Team (Inactive) [ 15-May-10 ]

No more actual for Alfresco Enterprise build 34, RHEL 5.1 x64, Tomcat 6.0.18, Mysql 5.1.35, JDK 6u16 x64

Comment by Derek Hulley [X] (Inactive) [ 31-Aug-16 ]

The component originally used was not a supported, recognisable system component with an associated component owner. Either the component never existed (it was fictional) or it has reached end-of-life.
The issues will be closed. Reopen and assign to an existing system component if necessary. Use labels appropriately.

Generated at Sun Mar 07 00:42:02 GMT 2021 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.