JoomlaEstateAgency / com_jea

Joomla Estate Agency. A real estate properties management component for Joomla.
11 stars 17 forks source link

import routine strange behaviour #6

Open dave12358 opened 6 years ago

dave12358 commented 6 years ago

hello, when import an export package for the first time i get this output:

Import terminé pour : jea. [Biens trouvés : 1 - Biens ajoutés : 1 - Biens mis à jour : 0 - Biens supprimés : 0]

everything ok, properties are correctly created and creation date is right then import over the same package a second time to get this:

Import terminé pour : jea. [Biens trouvés : 1 - Biens ajoutés : 0 - Biens mis à jour : 1 - Biens supprimés : 0]

properties are updated (it would not ...) and "created" field is set to 0000-00-00 00:00:00, "modified" is set to current date also the update routine does not work any more

i took a look in models / interface.php but i can not find the problem. any hint? best regards Dave

dave12358 commented 6 years ago

ok i was looking in wrong file, the right one is com_jea/gateways/import.php added or $properties[$row->ref]->update == "1" at line 213 to force update hope you can solve the problem