Skip to main content

Import: Special characters imported into PharmaCM generates System Exception Error when editing/saving field

Written by Gemma
Updated over 5 months ago

Issue:

When trying to edit/save a field which contains a special character (e.g. single apostrophe) which was brought into PharmCM via an import file, the following System Exception Error is displayed when trying to edit/save the field:

(Example)
'./outcomeReportingGroup[normalize-space(description) = 'ABC participant's weight.']' has an invalid token.

The issue is that special characters are not being escaped correctly via the Import Process. However, special characters are being escaped correctly via the UI.

Workaround:

Remove the offending special character via an Import file. This character can be added back in via the UI.

Resolution:

ADO-2127 has been created to resolve this issue in a future PharmaCM update. No longer reproducible in 2.23.5.

Affects Version:

Not reproducible in 2.23.5. May still affect lower versions.

Did this answer your question?