gentics / gentics/mesh

It's possible to publish nodes in unpublished folders

Open
#1,102 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.