Comments (2)
Hi there,
thanks for reporting!
before diving in more deeply I have one question:
Which is the one and which is the other language you create/delete the nodes in? Due to the fallback mechanism in place (en->de), the exact order of events is important.
from neos-development-collection.
Hi @nezaniel,
this does not make a difference.
These are the database entries for the node identifier after the node was created in de
and modified in en
:
workspace | identifier | removed | dimensionvalues |
---|---|---|---|
live | 87f3f35d-f03e-4632-879a-d95b108d0005 | 0 | de |
live | 87f3f35d-f03e-4632-879a-d95b108d0005 | 0 | en |
After switching to the new workspace, removing the node and publishing it:
workspace | identifier | removed | dimensionvalues |
---|---|---|---|
live | 87f3f35d-f03e-4632-879a-d95b108d0005 | 0 | de |
live | 87f3f35d-f03e-4632-879a-d95b108d0005 | 0 | en |
staging-ggxco | 87f3f35d-f03e-4632-879a-d95b108d0005 | 1 | de |
If you now try to remove the node in en
, no new database entry will be created.
The same thing happens, if you remove the node in en
first.
I may have found the problem:
neos-development-collection/Neos.ContentRepository/Classes/Domain/Model/NodeData.php
Lines 1078 to 1085 in b623608
If I add removedNodes: true
to $this->nodeDataRepository->findOneByIdentifier
the changes are applied and a new database entry is created:
workspace | identifier | removed | dimensionvalues |
---|---|---|---|
live | 87f3f35d-f03e-4632-879a-d95b108d0005 | 0 | de |
live | 87f3f35d-f03e-4632-879a-d95b108d0005 | 0 | en |
staging-ggxco | 87f3f35d-f03e-4632-879a-d95b108d0005 | 1 | de |
staging-ggxco | 87f3f35d-f03e-4632-879a-d95b108d0005 | 1 | en |
The problem is that it tries to find the node in the staging workspace, but as it is already marked as removed for the other dimension the method returns null
. But as I understand from the method description, it should also search in another base workspace. So it should also search in live
? But this does not seem to be happening.
from neos-development-collection.
Related Issues (20)
- Code Style: Unify php file licence headers and their position
- BUG `ImageVariantGarbageCollector` is never triggered in Neos 9
- BUG: ContentReference doesn't show hidden status of referenced node in backend HOT 1
- BUG: Discarded node remains in cache if UI was reloaded between creation and discard HOT 3
- Fix `EmbedsContentStreamAndNodeAggregateId` interface for ESCR Events
- BUG: Cannot unset `defaultValue` via `CreateNodeAggregateWithNode::$initialPropertyValues` HOT 4
- Deobfuscate content cache tags to ease debugging HOT 1
- Overhaul ContentCacheFlusher
- FEATURE: Content-Security-Policy-Header HOT 1
- BUG: media usage missing information about workspaces
- BUG: Deleted nodes in a workspace reappear on copy
- BUG: Test on 8.4 Branch are failing due to changes in Behat Traits
- FEATURE: Node-Migrations across NodeBased and NodeAggregateBased filters/transformations HOT 4
- BUG: Node-Migrations leave a published workspace behind that can't be changed out of HOT 2
- BUG: Changing nodetype in BE to one that has a contentCollection childNode leaves changes that can't be published
- BUG: Target workspaceName may exceed allowed workspaceName lenght on NodeMigration HOT 1
- FEATURE: Roles should show whether they are standalone
- WorkspaceNames in legacy events may not meet new constraints
- FEATURE: Filter users in users module by role
- FEATURE: Allow NodeAggregate based transformations on AggregateProperties and Properties with same value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neos-development-collection.