punktDe / archivist

A NeosCMS package that automatically sorts nodes into a predefined structure which is created on the fly
MIT License
16 stars 9 forks source link

BUG: cant copy document node to another content dimension #9

Open breadlesscode opened 4 years ago

breadlesscode commented 4 years ago

What I did

  1. Select a document node
  2. Copy it via the content dimensions switch to another dimension
  3. Error displayed and document node isnt fully copied

Additional Informations/Versions

Neos: 5.1.5 Flow: 6.1.3 Archivist: >=2.3.0

The Node 174f66f8-0082-465d-9d3a-fe5071956907 exists in both content dimenions.

Exepction log

Exception #1332491864 in line 213 of /Users/xy/Projects/xy/Data/Temporary/Development/SubContextValet/Cache/Code/Flow_Object_Classes/Neos_Eel_FlowQuery_FlowQuery.php: No operation which satisfies the runtime constraints found for "find".

46 Neos\Eel\FlowQuery\OperationResolver_Original::resolveOperation("find", array|1|)
45 Neos\Eel\FlowQuery\FlowQuery_Original::evaluateOperations()
44 Neos\Eel\FlowQuery\FlowQuery_Original::__call("get", array|1|)
43 call_user_func_array(array|2|, array|1|)
42 Neos\Eel\Context::call("get", array|1|)
41 Neos\Eel\ProtectedContext::call("get", array|1|)
40 Neos\Eel\Context::callAndWrap("get", array|1|)
39 Neos\Eel\CompilingEvaluator_Original::{closure}(Neos\Eel\ProtectedContext)
38 Neos\Eel\CompilingEvaluator_Original::evaluateAndUnwrap(Closure, Neos\Eel\ProtectedContext)
37 Neos\Eel\CompilingEvaluator_Original::evaluate("q(site).find('#174f66f8-0082-465d-9d3a-fe5071956907').get(0)", Neos\Eel\ProtectedContext)
36 Neos\Eel\Utility_Original::evaluateEelExpression("${q(site).find('#174f66f8-0082-465d-9d3a-fe5071956907').get(0)}", Neos\Eel\CompilingEvaluator, array|30|, array|43|)
35 PunktDe\Archivist\Service\EelEvaluationService_Original::evaluate("${q(site).find('#174f66f8-0082-465d-9d3a-fe5071956907').get(0)}", array|3|)
34 PunktDe\Archivist\Service\EelEvaluationService_Original::evaluateIfValidEelExpression("${q(site).find('#174f66f8-0082-465d-9d3a-fe5071956907').get(0)}", array|3|)
33 PunktDe\Archivist\Archivist_Original::buildBaseContext(Neos\ContentRepository\Domain\Model\Node, array|5|)
32 PunktDe\Archivist\Archivist_Original::organizeNode(Neos\ContentRepository\Domain\Model\Node, array|5|)
31 PunktDe\Archivist\NodeSignalInterceptor_Original::nodeAdded(Neos\ContentRepository\Domain\Model\Node, "Neos\ContentRepository\Domain\Model\Node::nodeAdded")
30 call_user_func_array(array|2|, array|2|)
29 Neos\Flow\SignalSlot\Dispatcher::dispatch("Neos\ContentRepository\Domain\Model\Node", "nodeAdded", array|1|)
28 Neos\Flow\SignalSlot\SignalAspect_Original::forwardSignalToDispatcher(Neos\Flow\Aop\JoinPoint)
27 Neos\Flow\Aop\Advice\AbstractAdvice::invoke(Neos\Flow\Aop\JoinPoint)
26 Neos\ContentRepository\Domain\Model\Node::emitNodeAdded(Neos\ContentRepository\Domain\Model\Node)
25 Neos\ContentRepository\Domain\Model\Node_Original::createVariantForContext(Neos\Neos\Domain\Service\ContentContext)
24 Neos\ContentRepository\Domain\Service\Context_Original::adoptNode(Neos\ContentRepository\Domain\Model\Node, true)
23 Neos\Neos\Controller\Service\NodesController_Original::adoptNodeAndParents(Neos\ContentRepository\Domain\Model\Node, Neos\Neos\Domain\Service\ContentContext, true)
22 Neos\Neos\Controller\Service\NodesController_Original::createAction("adoptFromAnotherDimensionAndCopyContent", "89214cc4-b34c-4135-b417-4e5b8e5aac9c", "user-admin", array|1|, array|1|)
21 Neos\Neos\Controller\Service\NodesController::createAction("adoptFromAnotherDimensionAndCopyContent", "89214cc4-b34c-4135-b417-4e5b8e5aac9c", "user-admin", array|1|, array|1|)
20 call_user_func_array(array|2|, array|5|)
19 Neos\Neos\Controller\Service\NodesController::Flow_Aop_Proxy_invokeJoinPoint(Neos\Flow\Aop\JoinPoint)
18 Neos\Flow\Aop\Advice\AdviceChain::proceed(Neos\Flow\Aop\JoinPoint)
17 Neos\Flow\Security\Aspect\PolicyEnforcementAspect_Original::enforcePolicy(Neos\Flow\Aop\JoinPoint)
16 Neos\Flow\Aop\Advice\AroundAdvice::invoke(Neos\Flow\Aop\JoinPoint)
15 Neos\Flow\Aop\Advice\AdviceChain::proceed(Neos\Flow\Aop\JoinPoint)
14 Neos\Neos\Controller\Service\NodesController::createAction("adoptFromAnotherDimensionAndCopyContent", "89214cc4-b34c-4135-b417-4e5b8e5aac9c", "user-admin", array|1|, array|1|)
13 call_user_func_array(array|2|, array|5|)
12 Neos\Flow\Mvc\Controller\ActionController_Original::callActionMethod()
11 Neos\Flow\Mvc\Controller\ActionController_Original::processRequest(Neos\Flow\Mvc\ActionRequest, Neos\Flow\Mvc\ActionResponse)
10 Neos\Flow\Mvc\Dispatcher_Original::initiateDispatchLoop(Neos\Flow\Mvc\ActionRequest, Neos\Flow\Mvc\ActionResponse)
9 Neos\Flow\Mvc\Dispatcher_Original::dispatch(Neos\Flow\Mvc\ActionRequest, Neos\Flow\Mvc\ActionResponse)
8 call_user_func_array(array|2|, array|2|)
7 Neos\Flow\ObjectManagement\DependencyInjection\DependencyProxy::__call("dispatch", array|2|)
6 Neos\Flow\Mvc\DispatchComponent_Original::handle(Neos\Flow\Http\Component\ComponentContext)
5 Neos\Flow\Http\Component\ComponentChain_Original::handle(Neos\Flow\Http\Component\ComponentContext)
4 Neos\Flow\Http\Component\ComponentChain_Original::handle(Neos\Flow\Http\Component\ComponentContext)
3 Neos\Flow\Http\RequestHandler::handleRequest()
2 Neos\Flow\Core\Bootstrap::run()
1 require("/Users/xy/Projects/xy/Web/index.php")
daniellienert commented 4 years ago

Hey @breadlesscode, good catch! Frankly, here at punkt.de we only used archivist in single-language-projects so far. Usage in multiple dimensions needs to be sorted out. If you find the time to extend our functional tests with a multi-language testCase I gladly help with the fix.

jonnitto commented 3 years ago

Any progress in this?

mariofischer commented 7 months ago

Any news on this?