Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port MYFACES-4628 #26390

Closed
volosied opened this issue Sep 25, 2023 · 0 comments · Fixed by #26389
Closed

Port MYFACES-4628 #26390

volosied opened this issue Sep 25, 2023 · 0 comments · Fixed by #26389
Assignees
Labels
in:Web Components release bug This bug is present in a released version of Open Liberty release:230011 team:Sirius

Comments

@volosied
Copy link
Member

volosied commented Sep 25, 2023

Describe the bug
A 'value is required' message will appear erroneously if you submit a required select tag where one of the selections is disabled. In the code below, if you select Val1 then the message will occur even though only Val3 is disabled.

This message should not occur.

Steps to Reproduce
Example code:

       <h:selectOneMenu label="MYFACES-4628" required="true" value="#{someBean.someValue}">
         <f:selectItem itemLabel="Val 1" itemValue="Val1" />
         <f:selectItem itemLabel="Val 2" itemValue="Val2" />
         <f:selectItem itemLabel="Val 3" itemValue="Val3" itemDisabled="true"/> 
       </h:selectOneMenu>

Expected behavior
No errors should occur when submitting required option Val 1 or Val 2.

Diagnostic information:

  • OpenLiberty Version: 23.0.0.3 - 23.0.0.10
  • Affected feature(s) : faces-4.0
  • Java Version: n/a
  • server.xml configuration (WITHOUT sensitive information like passwords)
  • If it would be useful, upload the messages.log file found in $WLP_OUTPUT_DIR/messages.log

Additional context
https://issues.apache.org/jira/browse/MYFACES-4628

@volosied volosied added the release bug This bug is present in a released version of Open Liberty label Sep 25, 2023
@pnicolucci pnicolucci added this to General Issues in Web Tier Team via automation Sep 28, 2023
@pnicolucci pnicolucci moved this from General Issues to Current Priority in Web Tier Team Sep 28, 2023
Web Tier Team automation moved this from Current Priority to Completed Tasks Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in:Web Components release bug This bug is present in a released version of Open Liberty release:230011 team:Sirius
Projects
Archived in project
Web Tier Team
  
Completed Tasks
Development

Successfully merging a pull request may close this issue.

3 participants