It's possible to publish nodes in unpublished folders
- Dominant language
- Java
- Stars
- 593
- Forks
- 123
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 4
Description
As tested on demo.getmesh.io with Gentics Mesh 1.5.3: it is currently possible to publish nodes in a folder that are not yet published themselves. This should not be allowed (and there is a test that should guarantee that: https://github.com/gentics/mesh/blob/980796e385880de2607375e82ffb9efd06b7daa4/core/src/test/java/com/gentics/mesh/core/node/NodePublishEndpointTest.java#L57 )
Contributor guide
Research direction
Start with core/src/test/java/com/gentics/mesh/core/node/NodePublishEndpointTest.java around line 57 and reproduce the unpublished-folder case against the node publish endpoint. Trace the endpoint behavior and ensure a node cannot be published while its containing folder remains unpublished, with the referenced test passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100