View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0026362||mantisbt||custom fields||public||2019-11-15 06:33||2019-12-02 17:15|
|Status||closed||Resolution||no change required|
|Platform||64 Bit||OS||Windows||OS Version||10 Pro|
|Summary||0026362: Multiselection list have "|" in the values in the database - these are removed on the UI|
Multiselection has 3 entries:
These will be stored as values in the database as "|Item A|", "|Item B|", "|Item C|"
If an "Item A" is directly added to the database (i.e. loading data), it will not match "|Item A|" from the Multiselection
On the UI this is confusing as "|Item A|" is shown as "Item A",
To workaround the issue add "|" around values when adding them to the database directly
|Steps To Reproduce|
Create a Multiselection
I have added pic_001 and pic_002
"TBD" is shown on the UI
In pic_002 bug_id = 10, 364 and 365 have been entered via the UI. bug_id = 366, 466, 467 have been added directly to the database
|Tags||No tags attached.|
That is your problem - you're manually updating the database.
We do not support nor recommend doing so. If you really must, then you should make sure that the data you insert adheres to the format defined by MantisBT core, and if you don't, then do not be surprised that things don't work as expected...
Anyway, as you have already pointed out, the only solution (and not workaround) is to
This is not a bug of MantisBT which works as designed. I am therefore resolving this issue as "no change required".
|2019-11-15 06:33||greentoothbrush||New Issue|
|2019-11-15 06:33||greentoothbrush||File Added: pic_001.PNG|
|2019-11-15 06:33||greentoothbrush||File Added: pic_002.PNG|
|2019-11-15 08:46||dregad||Assigned To||=> dregad|
|2019-11-15 08:46||dregad||Status||new => resolved|
|2019-11-15 08:46||dregad||Resolution||open => no change required|
|2019-11-15 08:46||dregad||Note Added: 0063099|
|2019-12-02 17:15||atrol||Status||resolved => closed|