[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Vu Viet Phuong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3350?page=com.atlassian.jira.pl... ]
Work on GTNPORTAL-3350 started by Vu Viet Phuong.
> Test failure: TestUserPortal#testNavigationOrder
> -------------------------------------------------
>
> Key: GTNPORTAL-3350
> URL: https://issues.jboss.org/browse/GTNPORTAL-3350
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Tuyen Nguyen The
> Assignee: Vu Viet Phuong
> Fix For: 3.7.0.Final
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> I meet a test failure:
> {code}
> Unit test testNavigationOrder did not complete:
> junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:74)
> at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
> at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
> at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
> 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:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
> {code}
> When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
> My environment is:
> {code}
> OS: Ubuntu x64 13.04
> JDK: 1.7.0_21 - 64bit
> maven: 3.0.4
> {code}
> Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3348) NPE when saving Portal Layout
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3348?focusedWorklogId=12430407&... ]
Tuyen Nguyen The logged work on GTNPORTAL-3348:
-----------------------------------------------
Author: Tuyen Nguyen The
Created on: 12/Dec/13 10:18 PM
Start Date: 11/Dec/13 10:18 PM
Worklog Time Spent: 3 hours
Issue Time Tracking
-------------------
Remaining Estimate: 3 hours (was: 6 hours)
Time Spent: 3 hours
Worklog Id: (was: 12430407)
> NPE when saving Portal Layout
> -----------------------------
>
> Key: GTNPORTAL-3348
> URL: https://issues.jboss.org/browse/GTNPORTAL-3348
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Trong Tran
> Assignee: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
> Original Estimate: 6 hours
> Time Spent: 3 hours
> Remaining Estimate: 3 hours
>
> There is NPE when we just do save on Site Layout:
> {code}
> java.lang.NullPointerException
> at org.exoplatform.portal.webui.portal.UIPortalComposer.save(UIPortalComposer.java:222)
> at org.exoplatform.portal.webui.portal.UIPortalComposer.access$000(UIPortalComposer.java:98)
> at org.exoplatform.portal.webui.portal.UIPortalComposer$FinishSiteEditionActionListener.execute(UIPortalComposer.java:427)
> at org.exoplatform.webui.event.Event.broadcast(Event.java:97)
> at org.exoplatform.webui.core.lifecycle.Lifecycle.processAction(Lifecycle.java:51)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)
> at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:36)
> at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:119)
> at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:123)
> at org.exoplatform.portal.webui.workspace.UIPortalApplication.processAction(UIPortalApplication.java:779)
> at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:210)
> at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:167)
> {code}
> This problem appears when the logged-in user doesn't have UserProfile. I do think there are also other places that we need to fix
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3350?page=com.atlassian.jira.pl... ]
Trong Tran reassigned GTNPORTAL-3350:
-------------------------------------
Assignee: Hai Nguyen
> Test failure: TestUserPortal#testNavigationOrder
> -------------------------------------------------
>
> Key: GTNPORTAL-3350
> URL: https://issues.jboss.org/browse/GTNPORTAL-3350
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Tuyen Nguyen The
> Assignee: Hai Nguyen
> Fix For: 3.7.0.Final
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> I meet a test failure:
> {code}
> Unit test testNavigationOrder did not complete:
> junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:74)
> at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
> at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
> at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
> 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:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
> {code}
> When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
> My environment is:
> {code}
> OS: Ubuntu x64 13.04
> JDK: 1.7.0_21 - 64bit
> maven: 3.0.4
> {code}
> Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3350?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3350:
----------------------------------
Sprint: Sprint 88
> Test failure: TestUserPortal#testNavigationOrder
> -------------------------------------------------
>
> Key: GTNPORTAL-3350
> URL: https://issues.jboss.org/browse/GTNPORTAL-3350
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> I meet a test failure:
> {code}
> Unit test testNavigationOrder did not complete:
> junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:74)
> at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
> at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
> at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
> 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:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
> {code}
> When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
> My environment is:
> {code}
> OS: Ubuntu x64 13.04
> JDK: 1.7.0_21 - 64bit
> maven: 3.0.4
> {code}
> Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3350?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3350:
----------------------------------
Original Estimate: 2 hours
Remaining Estimate: 2 hours
> Test failure: TestUserPortal#testNavigationOrder
> -------------------------------------------------
>
> Key: GTNPORTAL-3350
> URL: https://issues.jboss.org/browse/GTNPORTAL-3350
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> I meet a test failure:
> {code}
> Unit test testNavigationOrder did not complete:
> junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:74)
> at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
> at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
> at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
> 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:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
> {code}
> When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
> My environment is:
> {code}
> OS: Ubuntu x64 13.04
> JDK: 1.7.0_21 - 64bit
> maven: 3.0.4
> {code}
> Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3350?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3350:
----------------------------------
Fix Version/s: 3.7.0.Final
> Test failure: TestUserPortal#testNavigationOrder
> -------------------------------------------------
>
> Key: GTNPORTAL-3350
> URL: https://issues.jboss.org/browse/GTNPORTAL-3350
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
>
> I meet a test failure:
> {code}
> Unit test testNavigationOrder did not complete:
> junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:74)
> at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
> at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
> at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
> 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:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
> {code}
> When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
> My environment is:
> {code}
> OS: Ubuntu x64 13.04
> JDK: 1.7.0_21 - 64bit
> maven: 1.7.0_21
> {code}
> Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3350?page=com.atlassian.jira.pl... ]
Tuyen Nguyen The updated GTNPORTAL-3350:
----------------------------------------
Description:
I meet a test failure:
{code}
Unit test testNavigationOrder did not complete:
junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:74)
at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
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:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
{code}
When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
My environment is:
{code}
OS: Ubuntu x64 13.04
JDK: 1.7.0_21 - 64bit
maven: 3.0.4
{code}
Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
was:
I meet a test failure:
{code}
Unit test testNavigationOrder did not complete:
junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:74)
at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
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:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
{code}
When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
My environment is:
{code}
OS: Ubuntu x64 13.04
JDK: 1.7.0_21 - 64bit
maven: 1.7.0_21
{code}
Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
> Test failure: TestUserPortal#testNavigationOrder
> -------------------------------------------------
>
> Key: GTNPORTAL-3350
> URL: https://issues.jboss.org/browse/GTNPORTAL-3350
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
>
> I meet a test failure:
> {code}
> Unit test testNavigationOrder did not complete:
> junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:74)
> at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
> at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
> at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
> 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:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
> {code}
> When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
> My environment is:
> {code}
> OS: Ubuntu x64 13.04
> JDK: 1.7.0_21 - 64bit
> maven: 3.0.4
> {code}
> Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3350?page=com.atlassian.jira.pl... ]
Tuyen Nguyen The updated GTNPORTAL-3350:
----------------------------------------
Description:
I meet a test failure:
{code}
Unit test testNavigationOrder did not complete:
junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:74)
at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
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:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
{code}
When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
My environment is:
{code}
OS: Ubuntu x64 13.04
JDK: 1.7.0_21 - 64bit
maven: 1.7.0_21
{code}
Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
was:
I meet a test failure:
{code}
Unit test testNavigationOrder did not complete:
junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:74)
at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
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:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
{code}
When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, a always meet this failure. But this failure is not happened on other.
My environment is:
{code}
OS: Ubuntu x64 13.04
JDK: 1.7.0_21 - 64bit
maven: 1.7.0_21
{code}
Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
> Test failure: TestUserPortal#testNavigationOrder
> -------------------------------------------------
>
> Key: GTNPORTAL-3350
> URL: https://issues.jboss.org/browse/GTNPORTAL-3350
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Tuyen Nguyen The
>
> I meet a test failure:
> {code}
> Unit test testNavigationOrder did not complete:
> junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
> at junit.framework.Assert.fail(Assert.java:50)
> at junit.framework.Assert.failNotEquals(Assert.java:287)
> at junit.framework.Assert.assertEquals(Assert.java:67)
> at junit.framework.Assert.assertEquals(Assert.java:74)
> at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
> at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
> at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at junit.framework.TestCase.runTest(TestCase.java:168)
> at junit.framework.TestCase.runBare(TestCase.java:134)
> at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
> 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:243)
> at junit.framework.TestSuite.run(TestSuite.java:238)
> at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
> {code}
> When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, I always meet this failure. But this failure is not happened on other.
> My environment is:
> {code}
> OS: Ubuntu x64 13.04
> JDK: 1.7.0_21 - 64bit
> maven: 1.7.0_21
> {code}
> Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3350) Test failure: TestUserPortal#testNavigationOrder
by Tuyen Nguyen The (JIRA)
Tuyen Nguyen The created GTNPORTAL-3350:
-------------------------------------------
Summary: Test failure: TestUserPortal#testNavigationOrder
Key: GTNPORTAL-3350
URL: https://issues.jboss.org/browse/GTNPORTAL-3350
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.7.0.Final
Reporter: Tuyen Nguyen The
I meet a test failure:
{code}
Unit test testNavigationOrder did not complete:
junit.framework.AssertionFailedError: expected:<SiteKey[type=GROUP,name=/organization/management/executive-board]> but was:<SiteKey[type=GROUP,name=/platform/users]>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:74)
at org.exoplatform.portal.mop.user.TestUserPortal$6.doExecute(TestUserPortal.java:388)
at org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:924)
at org.exoplatform.portal.mop.user.TestUserPortal.testNavigationOrder(TestUserPortal.java:367)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGateInTest.java:81)
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:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.16 sec <<< FAILURE!
{code}
When i run all test or run single this test with command mvn clean test -Dtest=TestUserPortal#testNavigationOrder, a always meet this failure. But this failure is not happened on other.
My environment is:
{code}
OS: Ubuntu x64 13.04
JDK: 1.7.0_21 - 64bit
maven: 1.7.0_21
{code}
Maybe this failure is caused by commit: https://github.com/gatein/gatein-portal/commit/15f5899471161ac5ced8a26e60...
--
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
12 years, 3 months
[JBoss JIRA] (GTNPORTAL-3349) Wildcard membership doesn't resolved in OrganizationPortlet and Group management
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3349?page=com.atlassian.jira.pl... ]
Trong Tran reassigned GTNPORTAL-3349:
-------------------------------------
Assignee: Tuyen Nguyen The
> Wildcard membership doesn't resolved in OrganizationPortlet and Group management
> --------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3349
> URL: https://issues.jboss.org/browse/GTNPORTAL-3349
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.7.0.Final
> Reporter: Vu Viet Phuong
> Assignee: Tuyen Nguyen The
> Fix For: 3.7.0.Final
>
> Attachments: addGroupUserForm.png, groupNavigation.png
>
> Original Estimate: 3 hours
> Remaining Estimate: 3 hours
>
> - In Organization portlet --> Group management. When choose one group, the main panel show list of users belongs to that group, and a form to add more user
> Only user that is admin of that group can see that form (a user that have admin membership OR Wildcard membership)
> But currently, one user that has Wildcard membership doesn't see the form
> - In Group navigation management: Go to Group menu --> Manage group
> This portlet allow to manage group navigation, and only "Makeable" membership user can add group navigation
> And this is the same to above case, user that has Wildcard membership must be allow to add group navigation
> The solution is instead of using groupDAO#findGroupByMembership, we need to use groupDAO#resolveGroupByMembership
> Pls look at attached image to find the form and the add group nav button
--
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
12 years, 3 months