Problem with required file attribute

Author Message

Ivo Lukac

Thursday 15 January 2009 4:33:33 am

We sometimes have a problem with uploading file to object of custom class. File attribute is required. When user saves newly created object with uploaded file no error is reported. After that sometimes (with no specific pattern) uploaded file doesn't exist any more.

System has files in mysql db (ez 3.10.0).

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Ivo Lukac

Tuesday 20 January 2009 1:17:54 am

Just realized that every attribute after that file attribute isn't saved either.

How is possible that some attributes are saved and some are not? Isn't the save action in transaction?

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.