I am in the process of upgrading the commons-lang to a newer version. So far a strait update (in both geotools and geoserver) has not broken anything (mvn clean install runs with no build or test failures)
Given that the existing version of commons-lang causes some issues (eg LDAP authentication), where would it be appropriate to add a regression test for the new commons-lang functionallity?
I am in the process of upgrading the commons-lang to a newer version. So far a strait update (in both geotools and geoserver) has not broken anything (mvn clean install runs with no build or test failures)
Given that the existing version of commons-lang causes some issues (eg LDAP authentication), where would it be appropriate to add a regression test for the new commons-lang functionallity?
Thanks,
Torben Barsballe
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
I guess I am trying to say it is not worth introducing some new commons-lang functionality just to ensure we are working with the new version. The only thing I see that is fun is in commons-lang 3 (where Java 6 is a requirement).
I am in the process of upgrading the commons-lang to a newer version. So far a strait update (in both geotools and geoserver) has not broken anything (mvn clean install runs with no build or test failures)
Given that the existing version of commons-lang causes some issues (eg LDAP authentication), where would it be appropriate to add a regression test for the new commons-lang functionallity?
Thanks,
Torben Barsballe
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Adding Kevin to this conversation at request of Ben.
Jody: I am mainly just concerned with adding a test for the bug that prompted this fix. From the JIRA ticket:
GeoServer is using commons-lang-2.1.jar but some GeoServer functionality (namely LDAP authentication) requires more recent versions, such as commons-lang-2.4.jar.
With the older version, you can get errors like this:
Caused by: java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
at org.springframework.ldap.core.DistinguishedName.unmangleCompositeName(DistinguishedName.java:250)
The LDAP Authentication module definately seems like the best place for such a test.
**Ben**: You initially reported this bug. Do you happen to have a more complete stack trace, or steps to reproduce?
I guess I am trying to say it is not worth introducing some new commons-lang functionality just to ensure we are working with the new version. The only thing I see that is fun is in commons-lang 3 (where Java 6 is a requirement).
I am in the process of upgrading the commons-lang to a newer version. So far a strait update (in both geotools and geoserver) has not broken anything (mvn clean install runs with no build or test failures)
Given that the existing version of commons-lang causes some issues (eg LDAP authentication), where would it be appropriate to add a regression test for the new commons-lang functionallity?
Thanks,
Torben Barsballe
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Adding Kevin to this conversation at request of Ben.
Jody: I am mainly just concerned with adding a test for the bug that prompted this fix. From the JIRA ticket:
GeoServer is using commons-lang-2.1.jar but some GeoServer functionality (namely LDAP authentication) requires more recent versions, such as commons-lang-2.4.jar.
With the older version, you can get errors like this:
Caused by: java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
at org.springframework.ldap.core.DistinguishedName.unmangleCompositeName(DistinguishedName.java:250)
The LDAP Authentication module definately seems like the best place for such a test.
**Ben**: You initially reported this bug. Do you happen to have a more complete stack trace, or steps to reproduce?
I guess I am trying to say it is not worth introducing some new commons-lang functionality just to ensure we are working with the new version. The only thing I see that is fun is in commons-lang 3 (where Java 6 is a requirement).
I am in the process of upgrading the commons-lang to a newer version. So far a strait update (in both geotools and geoserver) has not broken anything (mvn clean install runs with no build or test failures)
Given that the existing version of commons-lang causes some issues (eg LDAP authentication), where would it be appropriate to add a regression test for the new commons-lang functionallity?
Thanks,
Torben Barsballe
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Adding Kevin to this conversation at request of Ben.
Jody: I am mainly just concerned with adding a test for the bug that prompted this fix. From the JIRA ticket:
GeoServer is using commons-lang-2.1.jar but some GeoServer functionality (namely LDAP authentication) requires more recent versions, such as commons-lang-2.4.jar.
With the older version, you can get errors like this:
Caused by: java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
at org.springframework.ldap.core.DistinguishedName.unmangleCompositeName(DistinguishedName.java:250)
The LDAP Authentication module definately seems like the best place for such a test.
**Ben**: You initially reported this bug. Do you happen to have a more complete stack trace, or steps to reproduce?
I guess I am trying to say it is not worth introducing some new commons-lang functionality just to ensure we are working with the new version. The only thing I see that is fun is in commons-lang 3 (where Java 6 is a requirement).
I am in the process of upgrading the commons-lang to a newer version. So far a strait update (in both geotools and geoserver) has not broken anything (mvn clean install runs with no build or test failures)
Given that the existing version of commons-lang causes some issues (eg LDAP authentication), where would it be appropriate to add a regression test for the new commons-lang functionallity?
Thanks,
Torben Barsballe
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
It looks like the actual failure mentioned in this ticket is fixed (?) in newer builds of geoserver, since the code in question is tested in existing test cases. Regardless, here is an update og geotools/geoserver to commons-lang-2.6 (latest 2.x version):
Adding Kevin to this conversation at request of Ben.
Jody: I am mainly just concerned with adding a test for the bug that prompted this fix. From the JIRA ticket:
GeoServer is using commons-lang-2.1.jar but some GeoServer functionality (namely LDAP authentication) requires more recent versions, such as commons-lang-2.4.jar.
With the older version, you can get errors like this:
Caused by: java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
at org.springframework.ldap.core.DistinguishedName.unmangleCompositeName(DistinguishedName.java:250)
The LDAP Authentication module definately seems like the best place for such a test.
**Ben**: You initially reported this bug. Do you happen to have a more complete stack trace, or steps to reproduce?
I guess I am trying to say it is not worth introducing some new commons-lang functionality just to ensure we are working with the new version. The only thing I see that is fun is in commons-lang 3 (where Java 6 is a requirement).
I am in the process of upgrading the commons-lang to a newer version. So far a strait update (in both geotools and geoserver) has not broken anything (mvn clean install runs with no build or test failures)
Given that the existing version of commons-lang causes some issues (eg LDAP authentication), where would it be appropriate to add a regression test for the new commons-lang functionallity?
Thanks,
Torben Barsballe
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
It looks like the actual failure mentioned in this ticket is fixed (?) in newer builds of geoserver, since the code in question is tested in existing test cases. Regardless, here is an update og geotools/geoserver to commons-lang-2.6 (latest 2.x version):
Adding Kevin to this conversation at request of Ben.
Jody: I am mainly just concerned with adding a test for the bug that prompted this fix. From the JIRA ticket:
GeoServer is using commons-lang-2.1.jar but some GeoServer functionality (namely LDAP authentication) requires more recent versions, such as commons-lang-2.4.jar.
With the older version, you can get errors like this:
Caused by: java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
at org.springframework.ldap.core.DistinguishedName.unmangleCompositeName(DistinguishedName.java:250)
The LDAP Authentication module definately seems like the best place for such a test.
**Ben**: You initially reported this bug. Do you happen to have a more complete stack trace, or steps to reproduce?
I guess I am trying to say it is not worth introducing some new commons-lang functionality just to ensure we are working with the new version. The only thing I see that is fun is in commons-lang 3 (where Java 6 is a requirement).
I am in the process of upgrading the commons-lang to a newer version. So far a strait update (in both geotools and geoserver) has not broken anything (mvn clean install runs with no build or test failures)
Given that the existing version of commons-lang causes some issues (eg LDAP authentication), where would it be appropriate to add a regression test for the new commons-lang functionallity?
Thanks,
Torben Barsballe
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
Thanks for that. I spotted an old commons-lang version hiding out in the online app-schema tests and see that you fixed it as well.
Kind regards,
Ben.
On 07/02/15 11:44, Torben Barsballe wrote:
It looks like the actual failure mentioned in this ticket is fixed (?) in
newer builds of geoserver, since the code in question is tested in existing
test cases. Regardless, here is an update og geotools/geoserver to
commons-lang-2.6 (latest 2.x version):
On 5 February 2015 at 14:15, Torben Barsballe <
tbarsballe@anonymised.com> wrote:
Adding Kevin to this conversation at request of Ben.
*Jody*: I am mainly just concerned with adding a test for the bug that
prompted this fix. From the JIRA ticket:
GeoServer is using commons-lang-2.1.jar but some GeoServer
functionality (namely LDAP authentication) requires more recent versions,
such as commons-lang-2.4.jar.
With the older version, you can get errors like this:
Caused by: java.lang.NoSuchMethodError: org.apache.commons.lang.StringUtils.replaceEach(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
at org.springframework.ldap.core.DistinguishedName.unmangleCompositeName(DistinguishedName.java:250)
The LDAP Authentication module definately seems like the best place for such a test.
*Ben*: You initially reported this bug. Do you happen to have a more complete stack trace, or steps to reproduce?
On Thu, Feb 5, 2015 at 2:03 PM, Jody Garnett <jody.garnett@anonymised.com>
wrote:
I guess I am trying to say it is not worth introducing some new
commons-lang functionality just to ensure we are working with the new
version. The only thing I see that is fun is in commons-lang 3 (where Java
6 is a requirement).
--
Jody Garnett
On 5 February 2015 at 12:04, Torben Barsballe <
tbarsballe@anonymised.com> wrote:
I am in the process of upgrading the commons-lang to a newer version.
So far a strait update (in both geotools and geoserver) has not broken
anything (mvn clean install runs with no build or test failures)
Given that the existing version of commons-lang causes some issues (eg
LDAP authentication), where would it be appropriate to add a regression
test for the new commons-lang functionallity?
Thanks,
Torben Barsballe
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media,
is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more.
Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/