'person' object not being injected in JS webscripts
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2009 03:53 PM
Hey people, I have a JavaScript webscript that executes all the instructions without problems. All but one, because the last instruction tries to use the variable 'person' (which is injected automatically by Alfresco in every WS) and the webscript throws an error saying "'person' is not defined". I tried using the debugger and the 'person' object is not present in the WS.
Any idea of what is happening?
I found a bug https://issues.alfresco.com/jira/browse/ETHREEOH-221 but this is not the case. The user has access to Company Home.
Any idea of what is happening?
I found a bug https://issues.alfresco.com/jira/browse/ETHREEOH-221 but this is not the case. The user has access to Company Home.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2009 04:10 PM
Fixed, in the config of the webscript the transaction tag was in 'none'. I changed to 'required'.
