Skip to content

BUG: Wrong error message when trying to update reference property #5559

Open
@Sebobo

Description

@Sebobo

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When trying to update a reference type property, the CR lies:

Exception #1615664798 in line 221 of .../NeosCMS/Neos.NeosIo/Packages/Libraries/neos/contentrepository-core/Classes/Feature/Common/ConstraintChecks.php: Property "lastVersion" cannot be set because node type "Neos.MarketPlace:Package" does not declare it.

21 Neos\ContentRepository\Core\SharedModel\Exception\PropertyCannotBeSet::becauseTheNodeTypeDoesNotDeclareIt(PropertyName|lastVersion|, NodeTypeName|Neos.MarketPlace:Package|)

Expected Behavior

The CR should show an error message that tells me that I have to update references separately with a different command.

Steps To Reproduce

No response

Environment

- Flow: 9.0
- Neos: 9.0
- PHP: 8.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions