We simple need for upload script to overwrite the files. Currently the
plupload plugin die if you upload a file with the same name

if (file_exists($targetDir.$fileName)){
        die('{"jsonrpc" : "2.0", "error" : {"code": 103, "message": "The same 
file already exists."}, "id" : "id"}');
}

I believe that there is also another upload script besides plupload but
I'm not sure.

-- 
You received this bug notification because you are a member of Aiki
Framework Developers, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/735001

Title:
  in form edit add a way to replace photos

Status in Aiki Framework:
  Confirmed

Bug description:
  Currently when one upload photo it can't be replaced with edit form,
  the edit should also delete the old file from directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/735001/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to