[JBoss JIRA] (RF-11793) Fix unstable test OsCacheTest.testExpiration
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11793?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-11793.
-----------------------------
Fix Version/s: (was: 5-Tracking)
Resolution: Cannot Reproduce Bug
I haven't seen this issue for a long time.
> Fix unstable test OsCacheTest.testExpiration
> --------------------------------------------
>
> Key: RF-11793
> URL: https://issues.jboss.org/browse/RF-11793
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: tests - unit
> Affects Versions: 4.1.0.CR2
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
>
> Core test: org.richfaces.cache.OsCacheTest.testExpiration
> {code}
> expected:<value-a> but was:<null>
> Stacktrace
> junit.framework.AssertionFailedError: expected:<value-a> but was:<null>
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.failNotEquals(Assert.java:277)
> at junit.framework.Assert.assertEquals(Assert.java:64)
> at junit.framework.Assert.assertEquals(Assert.java:71)
> at org.richfaces.cache.BaseCacheTest.testExpiration(BaseCacheTest.java:102)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at junit.framework.TestResult$1.protect(TestResult.java:110)
> at junit.framework.TestResult.runProtected(TestResult.java:128)
> at junit.framework.TestResult.run(TestResult.java:113)
> at junit.framework.TestCase.run(TestCase.java:124)
> at junit.framework.TestSuite.runTest(TestSuite.java:232)
> at junit.framework.TestSuite.run(TestSuite.java:227)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
> at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
> at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> {code}
--
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
10 years, 9 months
[JBoss JIRA] (RF-11797) Add shortcut for calling jQuery functions on components
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11797?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-11797.
-----------------------------
Fix Version/s: (was: 5-Tracking)
Resolution: Out of Date
One can use #{rich:jQuery('id')}.
> Add shortcut for calling jQuery functions on components
> -------------------------------------------------------
>
> Key: RF-11797
> URL: https://issues.jboss.org/browse/RF-11797
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.1.0.CR2
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
>
> Currently it's necessary to write
> {code}
> jQuery('#{rich:element('componentId')}).callSomething(...)
> {code}
> It would be great to provide shortcut:
> {code}
> #{rich:jquery('componentId')}.callSomething(...)
> {code}
> or provide JS function:
> {code}
> RichFaces.$('clientId')
> {code}
> to delegate to {{jQuery('clientId')}}
--
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
10 years, 9 months
[JBoss JIRA] (RF-11708) Allow to use onbeforesubmit to cancel request from all components
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11708?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-11708:
----------------------------
Assignee: (was: Lukáš Fryč)
> Allow to use onbeforesubmit to cancel request from all components
> -----------------------------------------------------------------
>
> Key: RF-11708
> URL: https://issues.jboss.org/browse/RF-11708
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.1.0.CR1
> Reporter: Lukáš Fryč
> Fix For: 5-Future
>
>
> {{onbeforesubmit}} is attribute which is documented as follows:
> {quote}
> The onbeforesubmit event attribute invokes the event listener before the Ajax request is sent. The request is canceled if the event listener defined for the onsubmit event returns false.
> {quote}
> However there is only one behavior (from all components/behaviors) which has this attribute: {{a4j:ajax}}.
> All ajax components should have this attribute.
> Additionally {{a4j:queue}} and {{a4j:attachQueue}} should have it too to refuse requests on global/regional level.
--
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
10 years, 9 months
[JBoss JIRA] (RF-11686) Metamer: rich:editor: isReadonly() and setReadonly() functions doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11686?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-11686:
----------------------------
Assignee: Pavol Pitonak (was: Lukáš Fryč)
> Metamer: rich:editor: isReadonly() and setReadonly() functions doesn't work
> ---------------------------------------------------------------------------
>
> Key: RF-11686
> URL: https://issues.jboss.org/browse/RF-11686
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.1.0.CR1
> Environment: RichFaces 4.1.0.20111111-CR1
> Metamer 4.1.0.20111111-CR1 r.22924
> Mojarra 2.1.3-SNAPSHOT
> JBoss AS 7.0.2.Final
> Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
> Firefox 8.0 @ Linux i686
> Reporter: Ján Jamrich
> Assignee: Pavol Pitonak
> Fix For: 5.0.0.Alpha4
>
>
> In Metamer demo for editor are buttons for editor's API testing.
> All functions on editor seems ok, except functions for editor's readonly status access (isReadonly and setReadonly).
> I'm getting following error in browser log when click on this button:
> RichFaces.$("form:editor").isReadonly is not a function
> [Break On This Error] if(typeof OpenAjax!=="undefined"&&type...){f.render=b}jsf.ajax.request(c,d,f)};
--
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
10 years, 9 months
[JBoss JIRA] (RF-11686) Metamer: rich:editor: isReadonly() and setReadonly() functions doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11686?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-11686:
----------------------------
Labels: needs-qe (was: )
> Metamer: rich:editor: isReadonly() and setReadonly() functions doesn't work
> ---------------------------------------------------------------------------
>
> Key: RF-11686
> URL: https://issues.jboss.org/browse/RF-11686
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.1.0.CR1
> Environment: RichFaces 4.1.0.20111111-CR1
> Metamer 4.1.0.20111111-CR1 r.22924
> Mojarra 2.1.3-SNAPSHOT
> JBoss AS 7.0.2.Final
> Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
> Firefox 8.0 @ Linux i686
> Reporter: Ján Jamrich
> Assignee: Pavol Pitonak
> Labels: needs-qe
> Fix For: 5.0.0.Alpha4
>
>
> In Metamer demo for editor are buttons for editor's API testing.
> All functions on editor seems ok, except functions for editor's readonly status access (isReadonly and setReadonly).
> I'm getting following error in browser log when click on this button:
> RichFaces.$("form:editor").isReadonly is not a function
> [Break On This Error] if(typeof OpenAjax!=="undefined"&&type...){f.render=b}jsf.ajax.request(c,d,f)};
--
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
10 years, 9 months
[JBoss JIRA] (RF-11686) Metamer: rich:editor: isReadonly() and setReadonly() functions doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11686?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-11686:
----------------------------
Fix Version/s: 5.0.0.Alpha4
(was: 5-Tracking)
> Metamer: rich:editor: isReadonly() and setReadonly() functions doesn't work
> ---------------------------------------------------------------------------
>
> Key: RF-11686
> URL: https://issues.jboss.org/browse/RF-11686
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.1.0.CR1
> Environment: RichFaces 4.1.0.20111111-CR1
> Metamer 4.1.0.20111111-CR1 r.22924
> Mojarra 2.1.3-SNAPSHOT
> JBoss AS 7.0.2.Final
> Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
> Firefox 8.0 @ Linux i686
> Reporter: Ján Jamrich
> Assignee: Lukáš Fryč
> Fix For: 5.0.0.Alpha4
>
>
> In Metamer demo for editor are buttons for editor's API testing.
> All functions on editor seems ok, except functions for editor's readonly status access (isReadonly and setReadonly).
> I'm getting following error in browser log when click on this button:
> RichFaces.$("form:editor").isReadonly is not a function
> [Break On This Error] if(typeof OpenAjax!=="undefined"&&type...){f.render=b}jsf.ajax.request(c,d,f)};
--
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
10 years, 9 months
[JBoss JIRA] (RF-11686) Metamer: rich:editor: isReadonly() and setReadonly() functions doesn't work
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-11686?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-11686:
---------------------------------
QE: could you please check whether this is still and issue with refactored Editor?
> Metamer: rich:editor: isReadonly() and setReadonly() functions doesn't work
> ---------------------------------------------------------------------------
>
> Key: RF-11686
> URL: https://issues.jboss.org/browse/RF-11686
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.1.0.CR1
> Environment: RichFaces 4.1.0.20111111-CR1
> Metamer 4.1.0.20111111-CR1 r.22924
> Mojarra 2.1.3-SNAPSHOT
> JBoss AS 7.0.2.Final
> Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
> Firefox 8.0 @ Linux i686
> Reporter: Ján Jamrich
> Assignee: Lukáš Fryč
> Fix For: 5.0.0.Alpha4
>
>
> In Metamer demo for editor are buttons for editor's API testing.
> All functions on editor seems ok, except functions for editor's readonly status access (isReadonly and setReadonly).
> I'm getting following error in browser log when click on this button:
> RichFaces.$("form:editor").isReadonly is not a function
> [Break On This Error] if(typeof OpenAjax!=="undefined"&&type...){f.render=b}jsf.ajax.request(c,d,f)};
--
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
10 years, 9 months