New entities have a true status leading to incorrect status label

Created on 20 May 2024, 7 months ago

Problem/Motivation

When adding a new entity it displays an incorrect 'published' status despite it being a new entity. The 'status' is TRUE by default which causes confusion when viewing the references. Once the nodes are saved, the new node will correctly display its status.

After creating a new node;

After saving the parent node;

Steps to reproduce

* Add an new entity to an existing node.
* Note the 'status' of the new entity is TRUE - leading to a 'published' status appearing for nodes.
* Note that the entity is not available elsewhere in the system - it is new
* After saving the parent the new entity will have a status of FALSE until it is published.

Proposed resolution

Patch incoming. Update status to FALSE when entity is new.

Remaining tasks

Review and decide if my patch is the correct approach.

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇦🇺Australia cb Sydney

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024