gentics / gentics/mesh

Publishing error due to missing parent node language

Open
#110 0 comments 0 reactions 0 assignees View on GitHub
bug minor
Dominant language
Java
Stars
593
Forks
123
Avg merge
2d 18h
Merged PRs (30d)
4

Description

We need to add testcase for the following situation:

Publish the node "Deutsch" using `POST /api/v1/nodes/:DeutschUuid/published?lang=de`
The node Deutsch has a parent Node English which only contains an english field container.

The assertPublishConsistency check is currently failing because the fallback check tries to assert that the node English also contains a german field container which is published.

Contributor guide

Open the contributing guide

Research direction

Start with the POST /api/v1/nodes/:DeutschUuid/published?lang=de scenario and locate the test covering publishing consistency. Read the assertPublishConsistency check and reproduce a German child whose English parent has only an English field container. Done means the testcase captures the expected behavior without requiring a German container on the parent.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.