[JBoss JIRA] (RF-13768) Tests for inplaceInput and inplaceSelect renderer failing
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-13768?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak updated RF-13768:
-------------------------------
Summary: Tests for inplaceInput and inplaceSelect renderer failing (was: Tests for inplaceInput and inplaceSelect rendere failing)
> Tests for inplaceInput and inplaceSelect renderer failing
> ---------------------------------------------------------
>
> Key: RF-13768
> URL: https://issues.jboss.org/browse/RF-13768
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input, resource handling
> Affects Versions: 4.5.0.Alpha3
> Reporter: Pavol Pitonak
> Priority: Blocker
>
> Two tests for inplace input and inplace select started failing. Investigate if the change in rendered HTML is expected.
> {code}
> InplaceInputRendererTest.testDefaultWithControlsEncode:29->InplaceRendererTestBase.doTestDefaultWithControlsEncode:29->RendererTestBase.doTest:91->RendererTestBase.checkXmlStructure:114 XML was not similar:org.custommonkey.xmlunit.Diff
> [different] Expected attribute value '/org.richfaces.resources/javax.faces.resource/org.richfaces/ico_ok.gif' but was '/javax.faces.resource/ico_ok.gif.jsf?ln=org.richfaces' - comparing <input src="/org.richfaces.resources/javax.faces.resource/org.richfaces/ico_ok.gif"...> at /span[1]/span[2]/span[1]/span[1]/span[1]/span[5]/input[1]/@src to <input src="/javax.faces.resource/ico_ok.gif.jsf?ln=org.richfaces"...> at /span[1]/span[2]/span[1]/span[1]/span[1]/span[5]/input[1]/@src
> {code}
> {code}
> InplaceSelectRendererTest.testDefaultWithControlsEncode:32->InplaceRendererTestBase.doTestDefaultWithControlsEncode:29->RendererTestBase.doTest:91->RendererTestBase.checkXmlStructure:114 XML was not similar:org.custommonkey.xmlunit.Diff
> [different] Expected attribute value '/org.richfaces.resources/javax.faces.resource/org.richfaces/ico_ok.gif' but was '/javax.faces.resource/ico_ok.gif.jsf?ln=org.richfaces' - comparing <input src="/org.richfaces.resources/javax.faces.resource/org.richfaces/ico_ok.gif"...> at /span[1]/span[2]/span[1]/span[1]/span[1]/span[5]/input[1]/@src to <input src="/javax.faces.resource/ico_ok.gif.jsf?ln=org.richfaces"...> at /span[1]/span[2]/span[1]/span[1]/span[1]/span[5]/input[1]/@src
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (RF-13768) Tests for inplaceInput and inplaceSelect rendere failing
by Pavol Pitonak (JIRA)
Pavol Pitonak created RF-13768:
----------------------------------
Summary: Tests for inplaceInput and inplaceSelect rendere failing
Key: RF-13768
URL: https://issues.jboss.org/browse/RF-13768
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input, resource handling
Affects Versions: 4.5.0.Alpha3
Reporter: Pavol Pitonak
Priority: Blocker
Two tests for inplace input and inplace select started failing. Investigate if the change in rendered HTML is expected.
{code}
InplaceInputRendererTest.testDefaultWithControlsEncode:29->InplaceRendererTestBase.doTestDefaultWithControlsEncode:29->RendererTestBase.doTest:91->RendererTestBase.checkXmlStructure:114 XML was not similar:org.custommonkey.xmlunit.Diff
[different] Expected attribute value '/org.richfaces.resources/javax.faces.resource/org.richfaces/ico_ok.gif' but was '/javax.faces.resource/ico_ok.gif.jsf?ln=org.richfaces' - comparing <input src="/org.richfaces.resources/javax.faces.resource/org.richfaces/ico_ok.gif"...> at /span[1]/span[2]/span[1]/span[1]/span[1]/span[5]/input[1]/@src to <input src="/javax.faces.resource/ico_ok.gif.jsf?ln=org.richfaces"...> at /span[1]/span[2]/span[1]/span[1]/span[1]/span[5]/input[1]/@src
{code}
{code}
InplaceSelectRendererTest.testDefaultWithControlsEncode:32->InplaceRendererTestBase.doTestDefaultWithControlsEncode:29->RendererTestBase.doTest:91->RendererTestBase.checkXmlStructure:114 XML was not similar:org.custommonkey.xmlunit.Diff
[different] Expected attribute value '/org.richfaces.resources/javax.faces.resource/org.richfaces/ico_ok.gif' but was '/javax.faces.resource/ico_ok.gif.jsf?ln=org.richfaces' - comparing <input src="/org.richfaces.resources/javax.faces.resource/org.richfaces/ico_ok.gif"...> at /span[1]/span[2]/span[1]/span[1]/span[1]/span[5]/input[1]/@src to <input src="/javax.faces.resource/ico_ok.gif.jsf?ln=org.richfaces"...> at /span[1]/span[2]/span[1]/span[1]/span[1]/span[5]/input[1]/@src
{code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (RF-13752) Distribution zip is missing javadocs
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-13752?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak commented on RF-13752:
------------------------------------
Javadocs are generated now and are part of distribution zip. However, I'd like to know why did you rename them from *javadoc* to *apidocs*?
The naming isn't consistent now because we have jsdoc, vdldoc but apidocs (with 's').
> Distribution zip is missing javadocs
> ------------------------------------
>
> Key: RF-13752
> URL: https://issues.jboss.org/browse/RF-13752
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: build/distribution
> Affects Versions: 4.5.0.Alpha3
> Reporter: Pavol Pitonak
> Assignee: Brian Leathem
> Fix For: 4.5.0.Beta1
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> Distribution zip contain directory *doc*, inside it there is *jsdoc* and *vdldoc*. Javadocs are missing.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (RF-13474) Extended data table: selection inside r:region doesn't work
by Matej Novotny (JIRA)
[ https://issues.jboss.org/browse/RF-13474?page=com.atlassian.jira.plugin.s... ]
Matej Novotny commented on RF-13474:
------------------------------------
I managed to reproduce this outside of Metamer.
I took simpleapp and added an EDT to index.html - I used the one from [showcase selection management|http://showcase-latest.richfaces.org/richfaces/component-sampl...] (including all the necessary beans).
I also added a scroller and a row limit and put whole EDT into a4j:region.
With this done, I followed the steps to reproduce and had exactly the same result as described.
> Extended data table: selection inside r:region doesn't work
> -----------------------------------------------------------
>
> Key: RF-13474
> URL: https://issues.jboss.org/browse/RF-13474
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.3.4, 4.5.0.Alpha1, 4.5.0.Alpha3, 5.0.0.Alpha2
> Environment: RichFaces 4.3.4.Final
> Metamer 4.3.4.Final
> EAP 6.2.0
> all browsers
> Reporter: Pavol Pitonak
> Fix For: 4.5-Tracking
>
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richExtendedDataTable/sele...
> # using data scroller switch to page 2
> # click on fifth row
> # using data scroller switch to page 1
> # hold shift, click on third row, release shift
> # hold ctrl, click on fifth row, release ctrl
> # using data scroller switch to page 2
> result:
> * rows that have never been selected are now selected (e.g. 45-49)
> * it's *not* a regression
> * it is probably related to RF-10256 - previously, selection didn't work when EDT was placed inside a table or region, now it works inside tables but not inside region
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (RF-13720) Mobile Showcase - CSV demo with JS error and does not work
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13720?page=com.atlassian.jira.plugin.s... ]
Michal Petrov resolved RF-13720.
--------------------------------
Resolution: Done
The file wasn't being referenced as a resource dependency, I've added {{CSVResourceDependenciesOrdering.java}} from 4.3.
> Mobile Showcase - CSV demo with JS error and does not work
> ----------------------------------------------------------
>
> Key: RF-13720
> URL: https://issues.jboss.org/browse/RF-13720
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.5.0.Alpha3
> Environment: mobile devices
> Reporter: Juraj Húska
> Assignee: Michal Petrov
> Labels: mobile, regression
> Fix For: 4.5.0.Beta1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> Showcase demo for _client side validation_ is not working on mobile devices.
> There is a JS error thrown, stating:
> {code}
> TypeError: RichFaces.csv.validate is not a function
> if(clientHandler){clientHandler.call(this,event)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (RF-13731) NPE on Tomcat 7 after Ajax request
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13731?page=com.atlassian.jira.plugin.s... ]
Juraj Húska edited comment on RF-13731 at 8/7/14 5:04 AM:
----------------------------------------------------------
The exception mentioned [in the comment|https://issues.jboss.org/browse/RF-13731?focusedCommentId=1298854...] still persists for me.
However, only on *Firefox*. It works with Chrome.
And I have also slightly different steps to reproduce:
# after deployment load: http://localhost:8080, there log in into Tomcat manager
# you should see deployed app here
# click on its context root so it is loaded in the browser
# try to write now something into input, you will see the exception
The above mentioned steps to reproduce are trying to demonstrate one thing:
_when I load the page directly in the browser, it works, but if I get into application via redirect, then the exception is thrown_
was (Author: jhuska):
The exception mentioned [in the comment|https://issues.jboss.org/browse/RF-13731?focusedCommentId=1298854...] still persists for me.
However, only on *Firefox*. It works with Chrome.
> NPE on Tomcat 7 after Ajax request
> ----------------------------------
>
> Key: RF-13731
> URL: https://issues.jboss.org/browse/RF-13731
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Environment: Tomcat 7 and Firefox only
> Reporter: Juraj Húska
> Fix For: 4.5.0.Beta1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> There is a NPE thrown after an AJAX request in either showcase (showcase can be deployed only when {{weld-servlet.jar}} is changed manually to higher version - RF-13725) or in Metamer:
> {code}
> SEVERE: java.lang.NullPointerException
> at org.richfaces.application.GlobalResourcesViewHandler.addSkinningResourcesToViewRoot(GlobalResourcesViewHandler.java:148)
> at org.richfaces.application.GlobalResourcesViewHandler.restoreView(GlobalResourcesViewHandler.java:179)
> at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:353)
> at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:197)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:121)
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
> at org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.execute(PersistenceLifecycle.java:58)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> Exception is being thrown only after initial page load, after refresh it works.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (RF-13731) NPE on Tomcat 7 after Ajax request
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13731?page=com.atlassian.jira.plugin.s... ]
Juraj Húska commented on RF-13731:
----------------------------------
The exception mentioned [in the comment|https://issues.jboss.org/browse/RF-13731?focusedCommentId=1298854...] still persists for me.
However, only on *Firefox*. It works with Chrome.
> NPE on Tomcat 7 after Ajax request
> ----------------------------------
>
> Key: RF-13731
> URL: https://issues.jboss.org/browse/RF-13731
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Environment: Tomcat 7 and Firefox only
> Reporter: Juraj Húska
> Fix For: 4.5.0.Beta1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> There is a NPE thrown after an AJAX request in either showcase (showcase can be deployed only when {{weld-servlet.jar}} is changed manually to higher version - RF-13725) or in Metamer:
> {code}
> SEVERE: java.lang.NullPointerException
> at org.richfaces.application.GlobalResourcesViewHandler.addSkinningResourcesToViewRoot(GlobalResourcesViewHandler.java:148)
> at org.richfaces.application.GlobalResourcesViewHandler.restoreView(GlobalResourcesViewHandler.java:179)
> at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:353)
> at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:197)
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
> at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:121)
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)
> at org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.execute(PersistenceLifecycle.java:58)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.richfaces.webapp.PushFilter.doFilter(PushFilter.java:96)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> Exception is being thrown only after initial page load, after refresh it works.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (RF-13767) Consolidate the RichFaces docs into a single document
by Brian Leathem (JIRA)
Brian Leathem created RF-13767:
----------------------------------
Summary: Consolidate the RichFaces docs into a single document
Key: RF-13767
URL: https://issues.jboss.org/browse/RF-13767
Project: RichFaces
Issue Type: Task
Security Level: Public (Everyone can see)
Components: doc
Reporter: Brian Leathem
Fix For: 4.5.0.Beta1
There is much duplication and ambiguity between the _Component Reference_ and the _Developer Guide_, we would benefit from consolidating the guides into a single document.
At the same time we can consider dropping the docbook-based pressgang workflow and adopting a simpler asciidoc -> html approach.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (RF-13720) Mobile Showcase - CSV demo with JS error and does not work
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13720?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13720:
------------------------------------
[~michpetrov] can you take a look at why the _richfaces-csv.js_ file is excluded from packaging?
> Mobile Showcase - CSV demo with JS error and does not work
> ----------------------------------------------------------
>
> Key: RF-13720
> URL: https://issues.jboss.org/browse/RF-13720
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.5.0.Alpha3
> Environment: mobile devices
> Reporter: Juraj Húska
> Labels: mobile, regression
> Fix For: 4.5.0.Beta1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> Showcase demo for _client side validation_ is not working on mobile devices.
> There is a JS error thrown, stating:
> {code}
> TypeError: RichFaces.csv.validate is not a function
> if(clientHandler){clientHandler.call(this,event)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months
[JBoss JIRA] (RF-13720) Mobile Showcase - CSV demo with JS error and does not work
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13720?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13720:
-------------------------------
Assignee: Michal Petrov
> Mobile Showcase - CSV demo with JS error and does not work
> ----------------------------------------------------------
>
> Key: RF-13720
> URL: https://issues.jboss.org/browse/RF-13720
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.5.0.Alpha3
> Environment: mobile devices
> Reporter: Juraj Húska
> Assignee: Michal Petrov
> Labels: mobile, regression
> Fix For: 4.5.0.Beta1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> Showcase demo for _client side validation_ is not working on mobile devices.
> There is a JS error thrown, stating:
> {code}
> TypeError: RichFaces.csv.validate is not a function
> if(clientHandler){clientHandler.call(this,event)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 4 months