Publishing error due to missing parent node language
- 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
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