BookOutlineConstraintValidator throws errors on non-book pages

Created on 8 October 2024, 6 months ago

Problem/Motivation

Not sure, why that validator is even called on non-book pages, but when we save them, we get a number of error messages that result from $value->book being NULL at lines 48, 54 and 60.

Proposed resolution

Check for that property to exist before even starting that validation.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

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

Comments & Activities

Production build 0.71.5 2024