Export does not escape quotation marks
... at least in the description
field (might apply to other fields, too).
To reproduce:
- Add a search action with a quotation mark
"
in the description field - Export it
- (Note the invalid JSON being exported)
- Import it
- See the error " is not of type String."
json_decode()
fails and is passing FALSE
as a String
parameter to the singleValueQuery()
method for retrieving the existing search action record, which generates the error.
Exporting should produce valid JSON.