[Bug]: Omit Mandatory Check on field with Default Value when creating a new DataObject#15812
[Bug]: Omit Mandatory Check on field with Default Value when creating a new DataObject#15812
Conversation
Review Checklist
|
f803eb4 to
b5faed4
Compare
90f737b to
e9c2253
Compare
|
Notes about Codeception Tests: in https://github.com/pimcore/pimcore/actions/runs/5962567143/job/16173995193#step:11:3166 (commit e9c2253) the error there is after the exception get caught and string contain asserted true and that's positive as it was intentionally to check if save was unsuccessfull and the wanted exception got caught, 3e95403 (ndr it's passed, only sonar cloud crashed causing false negative) meaning |
|
Kudos, SonarCloud Quality Gate passed!
|









Changes in this pull request
Resolves #15311
Additional info
WHAT
🤖 Generated by Copilot at 5c02d95
Fix mandatory check for fields with default values in
DataObject/Concrete.php. This allows saving new objects with empty mandatory fields that have a default value set in the class definition.🤖 Generated by Copilot at 5c02d95
HOW
🤖 Generated by Copilot at 5c02d95