[richfaces-issues] [JBoss JIRA] (RF-13312) rich:editor doesn't work in RF 4.5

Michal Petrov (JIRA) jira-events at lists.jboss.org
Mon Nov 4 05:11:02 EST 2013


    [ https://issues.jboss.org/browse/RF-13312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829710#comment-12829710 ] 

Michal Petrov commented on RF-13312:
------------------------------------

I'm guessing we can just check if the path contains the {{"db="}} substring and if not just return the path.
                
> rich:editor doesn't work in RF 4.5
> ----------------------------------
>
>                 Key: RF-13312
>                 URL: https://issues.jboss.org/browse/RF-13312
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.5-Tracking
>            Reporter: Michal Petrov
>             Fix For: 4.5.0.Alpha1
>
>
> The editor's UI doesn't get rendered. The rendering fails with:
> {panel}
> 10:59:36,709 SEVERE \[javax.enterprise.resource.webcontainer.jsf.application\] (http--127.0.0.1-8080-1) Error Rendering View\[/richfaces/component-sample.xhtml\]: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> {panel}
> It is caused by [this line|https://github.com/richfaces4/components/blob/master/input/ui/src/main/java/org/richfaces/renderkit/EditorRendererBase.java#L61]. The actual request path does not contain any parameters.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list