oliverklee / ext-realty

TYPO3 extension "realty"
https://www.oliverklee.de/typo3-services/realty-manager/
GNU General Public License v2.0
1 stars 3 forks source link

message_deleted_flag_set #315

Open kiwivision opened 3 years ago

kiwivision commented 3 years ago

Hi,

wie use the import in backend and i got the following error: Oops, an error occurred! The realty object could not be saved. This is the reason: message_deleted_flag_set

In the Database i found 4 objects with deleted = 1, now we import an xml with aktion="DELETE"

In class AttachmentImporter -> ensureUidForRealtyObject you call writeToDatabase. In this constelation retuns the function $messageKey = 'message_deleted_flag_set'

So the $result in ensureUidForRealtyObject is not empty and it runs in the RuntimeException, Code 1551133807

So no import is possible.

Greatings

oliverklee commented 3 years ago

Hi @kiwivision , thanks for the bug report. Would it be possible to upload the corresponding/offending OpenImmo file and post the link here?

kiwivision commented 3 years ago

XML File: https://www.kiwi-vision.de/debug/export.xml In the database are 4 deleted records for openimmo_obid = 59

oliverklee commented 3 years ago

@kiwivision Thanks! I will have a look at it. (It might take a few days, though. In the meantime, please try whether hard-deleting the corresponding records from the DB helps.)