You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on a blogpost about custom NodeTypes, I encountered an issue with the ValueConstraints.
It seems they aren't stored anywhere, and I couldn't find a trace in the code where they would be validated.
Are they supposed to be stored and validated?
The text was updated successfully, but these errors were encountered:
there is Client::validateNode which in the end goes into assertValidProperty - but reading that one i saw no mention of ValueConstraint so indeed we might miss bits here. i think we do call validateNode in all places we have to call it, but am not 100% sure of that either.
i guess the way to fix this would be to add tests to phpcr-api-tests that use this feature. they should succeed in jackalope-jackrabbit as the jackrabbit backend is supposed to do things correctly. then run those tests against jackalope-doctrine-dbal and you likely see constraints not applied.
While working on a blogpost about custom NodeTypes, I encountered an issue with the ValueConstraints.
It seems they aren't stored anywhere, and I couldn't find a trace in the code where they would be validated.
Are they supposed to be stored and validated?
The text was updated successfully, but these errors were encountered: