Hi,
the code:
Jerome Velociter-2 wrote:
$entry.set("allow",$right.get("allow"))
throws this Exception:
java.lang.NumberFormatException: For input string:
"Deny"---java.lang.NumberFormatException.forInputString(Unknown Source)
java.lang.NumberFormatException: For input string:
"Deny"---java.lang.Integer.parseInt(Unknown Source)
java.lang.NumberFormatException: For input string:
"Deny"---java.lang.Integer.<init>(Unknown Source)
java.lang.NumberFormatException: For input string:
"Deny"---com.xpn.xwiki.objects.classes.BooleanClass.fromString(BooleanClass.java:98)
java.lang.NumberFormatException: For input string:
"Deny"---com.xpn.xwiki.objects.BaseObject.set(BaseObject.java:204)
java.lang.NumberFormatException: For input string:
"Deny"---com.xpn.xwiki.api.Object.set(Object.java:82)
$right.get("allow") returns "Deny" and not a number as requested from
the
method fromString(String value) BooleanClass.java row 98
Can someone help me
Raffo
--
View this message in context:
http://www.nabble.com/copy-the-rigths-tp15003379p15185130.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.