Sackgesicht VIP
Total posts: 1,636
01 Nov 2012 22:28

When user delete a file (uploaded before) from an existing article and forgot to save the record, the article will still have the reference to the deleted article in the jos_res_record ...

Maybe it can be corrected that at the moment they delete, the record will be updated.

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
05 Nov 2012 23:15

Strange but I see the code in file delete method that is intended to dolete also reference from record. I'll make sure it works in next release. But it looks good and basically have to work. It may fail only on old uploads when record_id was not correctly saved for files.


Sackgesicht VIP
Total posts: 1,636
05 Nov 2012 23:58

the improvement here would be the AJAX correction of the js_res_record when deleting a file.

If the record is not saved after deleting, the record in #js)res_record is not updated


Konstantin
Total posts: 1,113
06 Nov 2012 02:25

Update record occurs when a file is deleted.Not matter is the record saved or not.

Powered by Cobalt