[richfaces-issues] [JBoss JIRA] Updated: (RF-5412) Editor: "Add/Edit link" pop up problem in case org.ajax4jsf.COMPRESS_SCRIPT=true.

Pavel Yaschenko (JIRA) jira-events at lists.jboss.org
Sat Dec 20 08:23:54 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-5412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Yaschenko updated RF-5412:
--------------------------------

     Original Estimate: 6 hours
    Remaining Estimate: 6 hours
           Component/s: planning_all
              Due Date: 28/Dec/08


> Editor: "Add/Edit link" pop up problem in case org.ajax4jsf.COMPRESS_SCRIPT=true.
> ---------------------------------------------------------------------------------
>
>                 Key: RF-5412
>                 URL: https://jira.jboss.org/jira/browse/RF-5412
>             Project: RichFaces
>          Issue Type: Bug
>          Components: planning_all
>    Affects Versions: 3.3.0
>         Environment: 3.3.0.BETA4
>            Reporter: Alexander Dubovsky
>            Assignee: Pavel Yaschenko
>             Fix For: 3.3.0
>
>         Attachments: 27.png
>
>   Original Estimate: 6 hours
>  Remaining Estimate: 6 hours
>
> # Open Editor page in richfaces-demo application. Select advanced theme.
> # Input some word and select it. Click "Add/Edit link" icon.
> Result: pop up without labels is shown (see screen shot) and exception is thrown in console:
> org.ajax4jsf.resource.ScriptRenderer send
> SEVERE: Error send script to client for resource scripts/tiny_mce/themes/advanced/js/link.js
> org.ajax4jsf.javascript.JSMin$UnterminatedRegExpLiteralException: Unterminated regular expression at line 91 and column 0
> 	at org.ajax4jsf.javascript.JSMin.action(JSMin.java:213)
> 	at org.ajax4jsf.javascript.JSMin.jsmin(JSMin.java:289)
> 	at org.ajax4jsf.resource.ScriptRenderer.send(ScriptRenderer.java:62)
> 	at org.ajax4jsf.resource.InternetResourceBase.send(InternetResourceBase.java:376)
> 	at org.ajax4jsf.resource.ResourceLifecycle.sendResource(ResourceLifecycle.java:221)
> 	at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:157)
> 	at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:335)
> 	at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
> 	at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
> 	at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:195)
> 	at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
> 	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:527)
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
> 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
> 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> 	at java.lang.Thread.run(Unknown Source)
> # Click "Insert/Edit image" icon => correct pop up appears
> # Click "Add/Edit link" icon again => correct pop up appears after the second click.
> The problem is resolved by changing value of org.ajax4jsf.COMPRESS_SCRIPT context param to FALSE.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list