We’re encountering a peculiar issue with our Umbraco 15.4.1 installation and are hoping someone might have seen something similar or could offer some insights.
The Problem:
When a user logged into the backoffice without admin rights attempts to publish content, they receive a validation error. Publishing works perfectly fine for users with admin rights .
The Error Message:
{
"type": "Error",
"title": "Validation failed",
"status": 400,
"detail": "One or more properties did not pass validation",
"operationStatus": "PropertyValidationError",
"errors": {
"$.values[?(@.alias == 'price' && @.culture == null && @.segment == null)].Value": [
"#validation_invalidNull"
]
}
}
Key Details & Quirks:
Admin vs. Non-Admin: Admins can publish the exact same content without any issues. Non-admins cannot.
Browser Specificity: This problem onlyoccurs when the non-admin user is using Safari . If the same non-admin user tries to publish using Chrome, Firefox, or Edge, it works without any errors.
Environment:
Umbraco Version: 15.4.1
We’re a bit stumped by the Safari-only aspect for non-admins. Any help or shared experiences would be greatly appreciated!
Not neccessarily, but it really helps you if you have steps to reproduce the issue on an Umbraco instance with as little changes as possible.
I just ran a quick test on Safari 18.4 (on Sequoia) on one of our 15.4.1 sites and I could publish fine there with a user that has the Writer and Editor roles. What roles does the user have that doesn’t work? Also what version of OS X and Safari are they using?
fyi: for testing in many different OS’ and browsers we have a (paid) tool called browserstack.
Thank you Luuk, I think I understand where the error is, or at least comming from.
It’s when Umbraco Commerce is installed and you have a required field that uses the price property from commerce, thats when I can recreate the error.
¨
EDIT: Its a bug in Umbraco Commerce, its currently being reviewed in their backlog