|
Date: 2/27/2007 11:53 pm · Subject: File and Image handling via Storage.pm · Rating: -3
Please refer to these SVN revs; https://svn.webgui.org/svnweb/WebGUI%20SVN/revision/?rev=3818 https://svn.webgui.org/svnweb/WebGUI%20SVN/revision/?rev=3817 There were two problems: - Form handling for the image was done by hand instead of via the Form API.
- For each upload, two storage locations were created. One via addChild and one via the original storage location. The original storage location was never cleaned up, so any reference to it was lost and the uploads dir gets crufty.
Similar problems also exist in the Asset Manager for uploading packages, in these modules: - Asset/File.pm
- Asset/FilePile.pm
- Asset/Wobject/Matrix.pm
- Operation/Graphics.pm
and maybe others
|