Skip to content

[examiner] Special characters in examiner names should not be allowed #7965

@ridz1208

Description

@ridz1208

Describe the bug
Special characters should not be allowed in examiner names. Special characters get escaped when saved in the database and cause an error when associating examiners with sites.

NOTE: It is "normal" that an error is thrown because when the examiner name contains special characters, it is escaped on the way to the DB and thus can not be searched for to associate with sites in the examiner_psc_rel table. (long story short, the error is normal, there is just no reason for special characters here)

To Reproduce
Steps to reproduce the behavior (attach screenshots if applicable):

  1. Go to the examiner module
  2. add an examiner with name test" &string <with> characters
  3. notice Error.

Metadata

Metadata

Assignees

Labels

24.0.0-bugsIssues or bug fix PRs that were raised during the testing of release 24.0.0Category: BugPR or issue that aims to report or fix a bugModule: examinerPR or issue related to examiner module

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions