You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2014/10/28 16:56:41 UTC

[jira] [Created] (SLING-4113) Importing resources triggers spurios publish events when missing parent folders are created

Robert Munteanu created SLING-4113:
--------------------------------------

             Summary: Importing resources triggers spurios publish events when missing parent folders are created
                 Key: SLING-4113
                 URL: https://issues.apache.org/jira/browse/SLING-4113
             Project: Sling
          Issue Type: Improvement
          Components: IDE
    Affects Versions: Sling Eclipse IDE 1.0.4
            Reporter: Robert Munteanu
            Assignee: Robert Munteanu
             Fix For: Sling Eclipse IDE 1.0.6


This seems to be the reason behind the following non-random test failure:

{noformat}Error Message

Unexpected events captured during import :  AddOrUpdateNodeCommand -> /content/test-root/folder/jcr:content : JcrResult[ success:true] ReorderChildNodesCommand -> /content/test-root/folder/jcr:content : JcrResult[ success:true]

Stacktrace

java.lang.AssertionError: Unexpected events captured during import : 
AddOrUpdateNodeCommand -> /content/test-root/folder/jcr:content : JcrResult[ success:true]
ReorderChildNodesCommand -> /content/test-root/folder/jcr:content : JcrResult[ success:true]
	at org.junit.Assert.fail(Assert.java:88)
	at org.apache.sling.ide.test.impl.helpers.FailOnModificationEventsRule.after(FailOnModificationEventsRule.java:99)
	at org.apache.sling.ide.test.impl.helpers.FailOnModificationEventsRule$1.evaluate(FailOnModificationEventsRule.java:61)
	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
	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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:123)
	at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:87)
	at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.runTests(AbstractUITestApplication.java:44)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Testable$1.run(E4Testable.java:72)
	at java.lang.Thread.run(Thread.java:662)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)