Skip to content

[issue_tracker] Update validation to allow NULL Site #6518

@laemtl

Description

@laemtl

#6480 suggests this as a feature, which is broken

Testing instructions (if applicable)
Create an issue with no CenterID

In the Issue Tracker, when creating a new issue, the form can't be submitted with a NULL Site field.
Issues without a site assignment are viewable by users with restricted site permission, so we need to allow such issues to be created.

Updating the validation rules should solve the issue.

To reproduce:

  • Open the Issue Tracker
  • Click on New Issue
  • Submit the form with Site empty

Related to #6480

Metadata

Metadata

Assignees

Labels

Category: BugPR or issue that aims to report or fix a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions