
Bug: pixidou doesn't deal well with 'undo' operations
Reported by marinex | October 18th, 2011 @ 02:51 AM | in 2.0.3 (closed)
Hi I have problem with pixidou, I apply some actions like Resize or Crop and then I undo this actions and again apply new actions like Crop or Contrast and pixidou returns a message "No correct uploaded source file. Can't carry on a process".
Can you help me? Thanks Marinex
Comments and changes to this ticket
-
dleffler October 18th, 2011 @ 03:32 AM
- Tag set to pixidou
Could you confirm the vesion of Exponent? And also PHP & the type of server your system is running on (Linux Apache, etc...)
-
dleffler October 18th, 2011 @ 04:53 AM
Notes to self:
- Looks like the temp file is (auto) renamed after every operation...while the image is undone, the temp file name and content remains the same...assume that it's looking for the filename used during the operation reverted to instead of the newest operation which may have been auto-renamed several times...may be the result of the move_uploaded_file call
- probably best to update the class.upload.php file from 0.25 to 0.31 as it's the core of all image functions.
-
dleffler October 18th, 2011 @ 04:54 AM
- Title changed from pixidou return No correct uploaded source file. Can't carry on a process. to Bug: pixidou doesn't deal well with 'undo' operations
-
expNinja October 18th, 2011 @ 07:24 AM
(from [e61131706bd441c698dc67a57710b4f46a9fec56]) Attempts to fix pixidou not dealing well with 'undo' operations. At least now you can recover from an undo, although an undo, undoes everything back to square one. Also updated some bad refs to old yui locaitons [#363] https://github.com/exponentcms/exponent-cms/commit/e61131706bd441c6...
-
dleffler October 18th, 2011 @ 12:29 PM
- State changed from new to open
- Milestone set to 2.0.2
- Milestone order changed from 110 to 0
-
marinex October 18th, 2011 @ 04:05 PM
I have exponent version 2.0.1 and Linux dist. Ubuntu 11.04, PHP 5.2, Apache 2.2.X, MySQL 5.1.X
-
marinex October 18th, 2011 @ 04:18 PM
I have notice, I tried to install only pixidou from its https://github.com/asvinb/pixidou and this pixidou has the same problem
-
dleffler October 18th, 2011 @ 05:27 PM
https://github.com/asvinb/pixidou is the original version and is used as a 3rd party addin with exponent. We've fixed a number of bugs in it already. Pixidou hasn't been updated since its initial release. However, I've just updated the core library used for most of the routines (class.upload.php) which was a 3rd party library pixidou uses.
The problem you've described has been fixed, at least to a usable condition, and will be released in v2.0.2 at the end of October. Or it is available in our github repository in the develop branch, which is always "the next release".
This fix is more of a 'revert to original' rather than a step-by-step undo. HOWEVER, it does allow you to undo all the changes you've made. Perhaps in the future, we'll be able to implement a better undo solution.
-
marinex October 18th, 2011 @ 08:08 PM
Thanks for help, I am new to exponent and it is great that this community has quick support
-
dleffler October 28th, 2011 @ 06:31 PM
- Milestone changed from 2.0.2 to 2.0.3
- Milestone order changed from 12 to 0
-
expNinja November 5th, 2011 @ 01:52 AM
(from [9689ee5155fb7ac53013a9b69736e1f5a0cc1ddf]) Fully fixes Pixidou Undo (if it ever really worked). Also cleans up some other odd things to make it more intuitive like removing cancel/apply buttons if you cancel resize/crop, etc...[#363 ] https://github.com/exponentcms/exponent-cms/commit/9689ee5155fb7ac5...
-
dleffler November 5th, 2011 @ 01:53 AM
- Assigned user set to dleffler
- State changed from open to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.