
|
If you were logged in you would be able to see more operations.
|
|
|
|
If you have any extra space in a <tester-class> element in PAGSGroupStoreConfig.xml, XMLPersonAttributesConfiguration.initializeTester will throw a ClassNotFoundException.
I ran into this when I had Eclipse format my XML for me in PAGSGroupStoreConfig.xml. For example:
This works fine:
<tester-class>org.jasig.portal.groups.pags.testers.StringEqualsIgnoreCaseTester</tester-class>
However, this results in a ClassNotFoundException:
<tester-class>
org.jasig.portal.groups.pags.testers.StringEqualsIgnoreCaseTester
</tester-class>
The fix is very simple. You just have to add call .trim() when getting the data for that element. .trim() was already in use in one place in XMLPersonAttributesConfiguration.java, but not when getting the tester-class element.
|
|
Description
|
If you have any extra space in a <tester-class> element in PAGSGroupStoreConfig.xml, XMLPersonAttributesConfiguration.initializeTester will throw a ClassNotFoundException.
I ran into this when I had Eclipse format my XML for me in PAGSGroupStoreConfig.xml. For example:
This works fine:
<tester-class>org.jasig.portal.groups.pags.testers.StringEqualsIgnoreCaseTester</tester-class>
However, this results in a ClassNotFoundException:
<tester-class>
org.jasig.portal.groups.pags.testers.StringEqualsIgnoreCaseTester
</tester-class>
The fix is very simple. You just have to add call .trim() when getting the data for that element. .trim() was already in use in one place in XMLPersonAttributesConfiguration.java, but not when getting the tester-class element. |
Show » |
|