Value containing double quotes generates an error on OrderList and PickList #1955

mertsincan opened this Issue Dec 7, 2016 · 0 comments


None yet

1 participant


Reported by PRO User;

The UI allows all characters at the moment, but if someone enters double quotes and saves the data and brings it back up, an error is generated:
10:59:17,704 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-localhost/ Index: 0, Size: 0: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck( [rt.jar:1.8.0_65]
at java.util.ArrayList.get( [rt.jar:1.8.0_65]
at org.primefaces.component.orderlist.OrderList.validate( [primefaces-6.0.jar:6.0]
at javax.faces.component.UIInput.executeValidate( [jboss-jsf-api_2.1_spec-2.1.28.SP1-redhat-1.jar:2.1.28.SP1-redhat-1]

If I change the value in the db to single quotes, the page comes up and shows all the values as expected.

@mertsincan mertsincan added this to the 6.1 milestone Dec 7, 2016
@mertsincan mertsincan added a commit that closed this issue Dec 7, 2016
@mertsincan mertsincan Fixed #1955 0dbac9a
@mertsincan mertsincan closed this in 0dbac9a Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment