• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ERAttachment S3 uploads, How to set _isPendingDelete()? via delegate?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERAttachment S3 uploads, How to set _isPendingDelete()? via delegate?


  • Subject: ERAttachment S3 uploads, How to set _isPendingDelete()? via delegate?
  • From: Benjamin Harrington <email@hidden>
  • Date: Wed, 28 Nov 2012 11:55:38 -0800

I'm having what seems to be a memory issue when uploading large files to S3.  To this end, we enabled an intermediate folder on the server to resolve that issue.  It introduced a new issue where the files are not deleted from the temporary folder.

The line of code that I need effected:
ERS3Attachment.java : line 38 : 'public boolean _isPendingDelete()'

Hard coding 'true' in the return resolves the issue, but my goal is to do this properly.

Another line of code that was interesting is:

ERAttachmentProcessor.java : line 344 '_process(editingContext(), uploadedFile, recommendedFileName, SuggestedMimeType, configurationName, ownerID, pendingAttachment.isPendingDelete());'

I cannot find anything in WOnder or my app that makes this call.  Is there a delegate I can create to manage this field?  And were might I find it's spec?

Thank you!
-Benny


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: ERRest example of non-model method with parameters
  • Next by Date: production hanging
  • Previous by thread: Re: ERRest example of non-model method with parameters
  • Next by thread: production hanging
  • Index(es):
    • Date
    • Thread