Warning when using JS save() function

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2008 09:25 AM
when I use the save() function in javascript (i.e. to force a custom space to be saved before using it or its sub-spaces) i get the following warning:
Any idea why it happens? is it relevant?
In any case, I assume it is an alfresco problem since it happens ONLY when running a javascript script and the message refers to a "missing Context.javaToJS() call"
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:Rhino runtime detected object Node Type: {my.model}my_space, Node Aspects: [{http://www.alfresco.org/model/content/1.0}auditable, {http://www.alfresco.org/model/application/1.0}uifacets, {http://www.alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/system/1.0}incomplete, {http://www.alfresco.org/model/content/1.0}copiedfrom] of class org.alfresco.repo.jscript.ScriptNode where it expected String, Number, Boolean or Scriptable instance. Please check your code for missing Context.javaToJS() call.
Any idea why it happens? is it relevant?
In any case, I assume it is an alfresco problem since it happens ONLY when running a javascript script and the message refers to a "missing Context.javaToJS() call"
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2008 10:43 AM
Same effect here…
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2009 03:59 PM
i too got the problem
