<div dir="ltr">Hi Eli,<div><br></div><div>In LORIS v22 I added a reported script that analyses if there are issues in your instruments.</div><div><br></div><div><a href="https://github.com/aces/Loris/pull/6477/files#diff-a943c6333454285d7b55ae4c9d792134">https://github.com/aces/Loris/pull/6477/files#diff-a943c6333454285d7b55ae4c9d792134</a></div><div><br></div><div>However the script that fixes all the issues requires some customization per project and that's why it was not submitted to the repo. Run the reporter first and see the extent of the damage, your options after that are:</div><div><ol><li>fix the fields manually</li><li>create your own little script to do it</li><li>we send you the script of one of our projects and you modify it to work for you.</li></ol><div>The reason the existing scripts need alterations is because projects have the freedom to implement their instruments the way they want it, so it's very difficult to make one script that works for all instruments on all projects. There is also the extent of the damages that have to be considered, in some projects the escaping happened so many times that the data in the SQL table started getting truncated. I don't think it will be the case for you because it happened because of a set of special circumstances but seeing how much the data is affected can help identify the best method for fixing the data.</div><div><br></div><div>Best,</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Rida Abou-Haidar<br>Software Developer<br>Montreal Neurological Institute<br>McGill University<br><div><a href="mailto:rida.abou-haidar@mcin.ca" target="_blank">rida.abou-haidar@mcin.ca</a></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 7, 2020 at 3:49 PM Eli Johnson <<a href="mailto:joh17964@umn.edu">joh17964@umn.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>Is there any recommended method for identifying and fixing fields that have previously been saved with multi-escaped special characters, before the bugfix in v23.0 (issue #6223)? I have noticed affected fields in our database and was curious if anyone else had already cleaned their database and could advise. </div><div><br></div><div>Thanks,</div><div>Eli</div><div><br clear="all"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-size:12.8px">Eli Johnson</span><br></div>Developer/Researcher<br>Institute of Child Development<br>University of Minnesota<div><a href="mailto:joh17964@umn.edu" target="_blank">joh17964@umn.edu</a></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote></div>