[jira] Updated: (SLING-1848) registration (or unregistration) of a ScriptEngineFactory doesn't cause the ScriptEngineManager service to be re-registered

2010-11-07 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/SLING-1848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Müller updated SLING-1848:
---

Attachment: (was: DreamWeaver CS5 Update.js)

 registration (or unregistration) of a ScriptEngineFactory doesn't cause the 
 ScriptEngineManager service to be re-registered
 ---

 Key: SLING-1848
 URL: https://issues.apache.org/jira/browse/SLING-1848
 Project: Sling
  Issue Type: Bug
  Components: Scripting
Reporter: Justin Edelson
Assignee: Justin Edelson
Priority: Blocker
 Fix For: Scripting Core 2.0.14


 ScriptEngineManagerFactory.refreshScriptEngineManager() handles the 
 registration of an OSGi service of the ScriptEngineManager. This is used, 
 amongst other places, by SlingScriptAdapterFactory.
 However, refreshScriptEngineManager() is *only* called from activate() and 
 getScriptEngineManager() (and in the latter case, only if the 
 scriptEngineManager is null). Although bindScriptEngineManager() (and unbind) 
 null out scriptEngineManager, they do not call refreshScriptEngineManager(). 
 As a result, new ScriptEngineFactory services are not effective with this 
 call sequence:
 1) activate()
 2) bindScriptEngineManager()
 3) try adapting a script to a javax.servlet.Servlet
 This can be worked around (albeit poorly IMHO) by going to the Configuration 
 Status page in the web console because this causes getScriptEngineManager() 
 to be called when scriptEngineManager is null, thus causing 
 refreshScriptEngineManager() to be called.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Assigned: (SLING-1859) Multi-value string properties are not displayed correctly

2010-11-07 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/SLING-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Müller reassigned SLING-1859:
--

Assignee: Mike Müller

 Multi-value string properties are not displayed correctly
 -

 Key: SLING-1859
 URL: https://issues.apache.org/jira/browse/SLING-1859
 Project: Sling
  Issue Type: Bug
  Components: Extensions
Affects Versions: Sling Explorer 1.0.0
Reporter: Carsten Ziegeler
Assignee: Mike Müller

 I have a node with a multi value string property, and the explorer displays 
 the value as [Ljava.lang.Object;@1a6b7e, together with the hint [not a 
 property!] 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (SLING-1859) Multi-value string properties are not displayed correctly

2010-11-07 Thread JIRA

[ 
https://issues.apache.org/jira/browse/SLING-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12929330#action_12929330
 ] 

Mike Müller commented on SLING-1859:


I can't reproduce this behaviour. Appears this with any multivalue String 
property or just one specific?

 Multi-value string properties are not displayed correctly
 -

 Key: SLING-1859
 URL: https://issues.apache.org/jira/browse/SLING-1859
 Project: Sling
  Issue Type: Bug
  Components: Extensions
Affects Versions: Sling Explorer 1.0.0
Reporter: Carsten Ziegeler
Assignee: Mike Müller

 I have a node with a multi value string property, and the explorer displays 
 the value as [Ljava.lang.Object;@1a6b7e, together with the hint [not a 
 property!] 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.