I added that (select status obsolete than active to waste a bit of time) so that the version group id field's on blur validation check and save button click won't happen too close to each other. It's very hard to manually reproduce this but with Selenium is possible. Two ajax calls almost at the same time will trigger that exception not only in this page but also found in some other JSF pages. 

Patrick Huang 
Senior Software Engineer 
Engineering - Internationalisation 
Red Hat 

----- Original Message -----

> From: "Damian Jansen" <notifications@github.com>
> To: "zanata/zanata-server" <zanata-server@noreply.github.com>
> Cc: "Patrick Huang" <pahuang@redhat.com>
> Sent: Thursday, October 31, 2013 8:31:31 AM
> Subject: Re: [zanata-server] Fix the test pages for sign up and log in (#250)

> In
> functional-test/src/test/java/org/zanata/feature/versionGroup/VersionGroupIDValidationTest.java:
> >          // Yes reassign groupPage is necessary since JSF re-renders itself
> >          after
> >          // each field input and selenium is not happy with it
> > -        groupPage =
> > -                groupPage.clearFields().inputGroupId(inputText)
> > -
> >                        .inputGroupName(inputText).selectStatus("OBSOLETE")
> > -                        .selectStatus("ACTIVE") // this is to avoid
> > -                                                //
> > ConcurrentModificationException
> > -                                                // thanks to JSF!!

> From what I understand, @huangp added this and somehow prevents the
> exception. I found it very strange.

> —
> Reply to this email directly or view it on GitHub .