Skip to content

Setting non-multiple select field to null causes misleading error #477

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

Closed
mahileeb opened this issue Mar 29, 2017 · 1 comment
Closed

Setting non-multiple select field to null causes misleading error #477

mahileeb opened this issue Mar 29, 2017 · 1 comment
Milestone

Comments

@mahileeb
Copy link

{code}
java.lang.UnsupportedOperationException: You may only deselect all options of a multi-select

at org.openqa.selenium.support.ui.Select.deselectAll(Select.java:219)
at geb.navigator.NonEmptyNavigator.setSelectValue(NonEmptyNavigator.groovy:723)
at geb.navigator.NonEmptyNavigator.setInputValue(NonEmptyNavigator.groovy:689)
at geb.navigator.NonEmptyNavigator.setInputValues_closure40(NonEmptyNavigator.groovy:680)
at groovy.lang.Closure.call(Closure.java:426)
at geb.navigator.NonEmptyNavigator.setInputValues(NonEmptyNavigator.groovy:679)
at geb.navigator.NonEmptyNavigator.propertyMissing(NonEmptyNavigator.groovy:593)

{code}

@mahileeb
Copy link
Author

apache/groovy-geb#128

@erdi erdi added this to the 1.2 milestone May 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants