Hi,
When using the export-preferences.crn script in uP3, we encountered the
following RuntimeException:
"Unable to locate method 'getEntityPreferences' on object of class
'org.jasig.portal.io.support.PortletEntityPreferenceHandler' (argument
types follow):
arg type=java.math.BigDecimal"
The USER_ID column type is NUMBER and the JDBC mapping is BigDecimal.
Hence, we have to explicitly convert it to integer, the expected
argument type for the getEntityPreferences() method, such as on line 45
of this script,
* should it be:
<parameter value="${jexl(USER_ID.intValue())}" />
* instead of:
<parameter value="${USER_ID}" />
Thanks,
Tuy.
--
You are currently subscribed to [email protected] as: [EMAIL
PROTECTED]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev