Impossible to enter phone number in (Czech) locale format in Organizational Unit settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
In Server admin --> Organizational Unit in tab Main library information (attached to particular organizational units) in Evergreen 2.6.2 Staff Client when entering the library phone number to the field "Main phone number" I always get the error message attached the field "The value entered is not valid" and the phone number is impossible to save. The behavior of the system is the same no matter whether en-US or cs-CZ locale interface is of Evergreen staff client is used.
I tried following formats of library phone number with no succes:
211222410
+420211222410
00420211222410
211 222 410
+420 211 222 410
00420 211 222 410
00 420 211 222 410
211-222-410
+420-211-222-410
00420-211-222-410
00-420-211-222-410
(Note: The similar problem used to happen in Evergreen 2.2. in JSPAC when entering the patron hold notification phone number - now no problem occurs with hold notification nubmers, so I supposed it was solved).
description: | updated |
tags: | added: i18n |
Changed in evergreen: | |
status: | Confirmed → Won't Fix |
I tested this in master and found something a little different.
I also see the message "the value entered is not valid" when entering the number of any of the formats you listed above. Therefore, I'm marking the bug confirmed because we should not be seeing that message. Ideally, it would be nice if we could set a regex for this field. I didn't see a current setting that does this.
However, even with that message, I was able to save the phone number in the record.
I did come across another problem, though, that was unrelated to the phone number format. If, after saving the record, I tried entering a new phone number and saving the record again, the system often choked up on me, until I eventually received an error message that says:
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: oils:// remote/ js/dojo/ dojo/openils_ dojo.js: 16
This message came up even when I was entering a phone number in a standard U.S. format, which is why I think the problem is unrelated to the phone number format. If I existed out of the interface, retrieved it again, and then entered the phone number in any of the above formats, I had no trouble saving the record.
Do you think this may have been what happened when you were trying to save the number?