Skip to content

Validation Error for Non-Admin Users Publishing Content with Umbraco Commerce Price Property in Safari #713

@mdp-jf

Description

@mdp-jf

Which component is this issue related to?

Umbraco Commerce (Core)

Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)

15.3.4

Bug summary

Non-admin users encounter a validation error when attempting to publish content containing required Umbraco Commerce price properties, but only when using Safari browser. Admin users and other browsers work correctly.

Specifics

Error Details
{
"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"
]
}
}

Steps to reproduce

Steps to Reproduce

  • Install Umbraco 15.4.1 with Umbraco Commerce 15.3.4
  • Create a new store
  • Create a document type that uses said store
  • Create a document type that is a child of the first document type with a required field that uses the price property from Umbraco Commerce
  • Create content using this document types
  • Use Safari browser
  • Log in as a non-admin user (without admin rights)
  • Create new content as a non-admin
  • Attempt to publish the content

Expected result / actual result

Expected Behavior

  • Non-admin users should be able to publish content with Commerce price properties regardless of browser
  • Behavior should be consistent across all supported browsers

Actual Behavior

  • Non-admin users receive validation error when publishing in Safari
  • Error message indicates price property validation failure with "#validation_invalidNull"
  • Same content publishes successfully for admin users in Safari
  • Same content publishes successfully for non-admin users in other browsers

Dependencies

Environment

  • Umbraco Version: 15.4.1
  • Umbraco Commerce: Installed 15.3.4
  • Affected Browser: Safari (all versions tested)
  • Working Browsers: Chrome, Firefox, Edge
  • User Permissions: Issue affects non-admin users only

This item has been added to our backlog AB#53359

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions