ERAttachment doesn’t delete file objects. You’ll need to implement that 
yourself if orphans distress you :-)

David


On Aug 15, 2014, at 10:01 AM, Theodore Petrosky <[email protected]> wrote:

> Ok, I finally figured out how to add an attachment to a relation in D2W. 
> However, is it expected behavior that when you delete an asset, it only 
> deletes the ‘link’ to the asset, but not the asset itself.
> 
> Meaning I upload a pdf. later I delete it from the relation. the asset shows 
> one less item in its list, however the pdf is still in the file/database. 
> 
> It is effectively orphaned. 
> 
> Also, when I click to edit the attachment, there is a ‘remove’ button 
> associated with the file. If I click it, the app crashes with: 
> 
> Error:        java.lang.IllegalArgumentException: This form is missing a 
> 'enctype=multipart/form-data' attribute. It is required for WOFileUpload to 
> work.
> Reason:       This form is missing a 'enctype=multipart/form-data' attribute. 
> It is required for WOFileUpload to work.
> 
> 
> Ted
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to