[JBoss JIRA] Created: (GTNPORTAL-1936) WSRP Producer: Custom policy in wsrp-producer-config.xml leads to IllegalArgumentException at restart
by Christoph Hennes (JIRA)
WSRP Producer: Custom policy in wsrp-producer-config.xml leads to IllegalArgumentException at restart
-----------------------------------------------------------------------------------------------------
Key: GTNPORTAL-1936
URL: https://issues.jboss.org/browse/GTNPORTAL-1936
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Environment: EPP 5.1, WSRP
Reporter: Christoph Hennes
If a custom policy class is used in wsrp-producer-config.xml and the producer is initially created with these settings an exception is thrown after restart:
IllegalArgumentException: Couldn't instantiate policy class
at org.gatein.wsrp.producer.config.impl.ProducerRegistrationRequirementsImpl.reloadPolicyFrom(ProducerRegistrationRequirementsImpl.java:393)
The reason for this seems to be the RegistrationPolicyWrapper which is used as wrapper for the custom policy. The next startup time JBoss tries to create an instance of the wrapper:
ProducerRegistrationRequirementsImpl:
RegistrationPolicy policy = (RegistrationPolicy)policyClass.newInstance();
But the RegistrationPolicyWrapper does not have a default constructor. I think that the wrapper should not be persisted at all and just be added transiently.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months
[JBoss JIRA] Created: (GTNPORTAL-2145) Some first name and last name parameter are reversed in Japanese message bundle of UserInfoPortlet
by Takayuki Konishi (JIRA)
Some first name and last name parameter are reversed in Japanese message bundle of UserInfoPortlet
--------------------------------------------------------------------------------------------------
Key: GTNPORTAL-2145
URL: https://issues.jboss.org/browse/GTNPORTAL-2145
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WebUI
Affects Versions: 3.2.0-M01, 3.0.0-Beta01
Reporter: Takayuki Konishi
"\u82d7\u5b57"(苗字) means last name and "\u540d\u524d"(名前) means first name.
But some parameters are reversed in EPP_5_1_0_GA/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ja.properties.
firstName - "\u82d7\u5b57"
Values of these 2 lines should be "\u540d\u524d".
line 1116: UIAccountProfiles.label.firstName=\u82d7\u5b57 :
line 1236: UIUserSelector.label.option.firstName=\u82d7\u5b57
lastName - "\u540d\u524d"
Values of these 2 lines should be "\u82d7\u5b57".
line 1117: UIAccountProfiles.label.lastName=\u540d\u524d :
line 1235: UIUserSelector.label.option.lastName=\u540d\u524d
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 5 months