Anonymize study without dicom tag "PatientID"

I get un error when try to anonymize a study without dicom tag "Patient ID".
Bug or not possible?

Trace:

I1222 09:19:58.491796 MongooseServer.cpp:721] POST /studies/169173b7-3221e9c3-8d49e6ca-9cbd98be-4d747773/anonymize
T1222 09:19:58.491868 Statement.cpp:135] SQLite::Statement::Run BEGIN TRANSACTION
T1222 09:19:58.491891 Statement.cpp:144] SQLite::Statement::Step SELECT value FROM GlobalProperties WHERE property=?
T1222 09:19:58.491925 Statement.cpp:135] SQLite::Statement::Run INSERT OR REPLACE INTO GlobalProperties VALUES(?, ?)
T1222 09:19:58.491982 Statement.cpp:135] SQLite::Statement::Run COMMIT
T1222 09:19:58.502309 Statement.cpp:144] SQLite::Statement::Step SELECT internalId, resourceType FROM Resources WHERE publicId=?
T1222 09:19:58.502374 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.502393 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502410 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502425 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.502441 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502455 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502466 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502478 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502493 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502535 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502569 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502586 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502597 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502608 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502619 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502771 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502786 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502797 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502808 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502825 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502869 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502888 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502900 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502911 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502922 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502933 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.502988 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503002 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503013 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503028 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503066 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503087 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503100 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503111 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503122 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503133 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503200 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503214 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503226 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503242 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503279 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503296 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503308 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503319 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503330 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503341 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503405 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503418 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503436 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503472 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503488 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503500 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503511 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503522 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503582 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503597 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503608 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503624 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503662 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503681 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503694 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503705 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503716 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503727 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503775 Statement.cpp:144] SQLite::Statement::Step SELECT a.internalId FROM Resources AS a, Resources AS b WHERE a.parentId = b.internalId AND b.internalId = ?
T1222 09:19:58.503794 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.503818 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.503866 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.503886 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.503901 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.503916 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.503938 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.503975 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504015 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504045 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504064 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504086 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504122 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504164 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504191 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504207 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504243 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504266 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504308 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504335 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504351 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504389 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504414 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504456 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504477 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504499 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504536 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504571 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504601 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504618 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504637 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504675 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504693 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504729 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504760 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504779 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504813 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504837 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504877 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504904 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504920 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.504957 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.504983 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505025 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505046 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505063 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505104 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505127 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505176 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505192 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505207 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505222 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505237 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505261 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505287 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505303 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505345 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505369 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505386 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505424 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505445 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505484 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505512 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505528 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505549 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505586 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505610 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505653 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505670 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505703 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505730 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505771 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505796 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505812 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505850 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505873 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505916 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505938 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.505956 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.505994 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506020 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506061 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506079 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506101 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506137 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506174 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506205 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506224 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506262 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506287 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506330 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506351 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506371 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506407 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506433 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506474 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506492 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506514 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506550 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506592 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506619 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506634 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506672 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506695 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506737 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506760 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506776 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506817 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506835 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506857 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506899 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506916 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506936 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.506972 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.506997 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.507039 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.507056 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.507077 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
T1222 09:19:58.507114 Statement.cpp:144] SQLite::Statement::Step SELECT resourceType FROM Resources WHERE internalId=?
T1222 09:19:58.507156 Statement.cpp:144] SQLite::Statement::Step SELECT publicId FROM Resources WHERE internalId=?
I1222 09:19:58.507189 OrthancRestAnonymizeModify.cpp:254] Modifying instance 9010bdbe-d835757f-de060410-20f341a0-ba25b83e
T1222 09:19:58.507207 Statement.cpp:144] SQLite::Statement::Step SELECT internalId, resourceType FROM Resources WHERE publicId=?
T1222 09:19:58.507249 Statement.cpp:144] SQLite::Statement::Step SELECT uuid, uncompressedSize, compressionType, compressedSize, uncompressedMD5, compressedMD5 FROM AttachedFiles WHERE id=? AND fileType=?
T1222 09:19:58.508066 MemoryCache.cpp:67] Registering new data in a cache page
E1222 09:19:58.508187 MongooseServer.cpp:754] Exception in the HTTP handler: Bad file format

Hello,

This behavior is explained in the Orthanc Book:
https://orthanc.chu.ulg.ac.be/book/users/anonymization.html#modification-of-patients

Sébastien-

great, thanks for your answer !!