I’ve been trying to implement the ERAttachment Package for weeks and seems ‘absolutely’ impossible!! I get these two Exceptions in the same cycle [Data Entry & Update/Retrieval].. wow? Anyone familiar with this problem? HELP
[A]
[2016-4-19 9:5:35 EDT] <WorkerThread2> java.util.NoSuchElementException: There
was no ERAttachment that matched the qualifier '(webPath = '/id/null/')'.
at
er.attachment.model._ERAttachment.fetchRequiredERAttachment(_ERAttachment.java:392)
at
er.attachment.model.ERAttachment.fetchRequiredAttachmentWithWebPath(ERAttachment.java:144)
at
er.attachment.ERAttachmentRequestHandler.fetchAttachmentFor(ERAttachmentRequestHandler.java:226)
at
er.attachment.ERAttachmentRequestHandler.handleRequest(ERAttachmentRequestHandler.java:120)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at
er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2100)
at
er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2065)
at Application.dispatchRequest(Application.java:3753)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:745)
[B]
[2016-4-19 9:9:54 EDT] <WorkerThread4> java.lang.SecurityException: You are not
allowed to view the requested attachment.
at
er.attachment.ERAttachmentRequestHandler.fetchAttachmentFor(ERAttachmentRequestHandler.java:210)
at
er.attachment.ERAttachmentRequestHandler.handleRequest(ERAttachmentRequestHandler.java:120)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at
er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2100)
at
er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2065)
at Application.dispatchRequest(Application.java:3753)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
at java.lang.Thread.run(Thread.java:745)
This is the major UI ‘problem’ segment:
HTML: <webobject name=“ERAttachmentUpload1"> </webobject>
WOD:
ERAttachmentUpload1 : ERAttachmentFlexibleUpload
{
configurationName = "EeoPmtRecd.paymentRecdDoc";
attachment =
eeoPmtRecdDisplayGroup.selectedObject.paymentRecdDoc;
editingContext =
eeoPmtRecdDisplayGroup.selectedObject.editingContext;
ownerID = eeoPmtRecdDisplayGroup.selectedObject.primaryKey;
storageType = "db";
ajax = true;
cleanup = true;
autoSubmit = true;
clearUploadProgressOnSuccess = true;
width = 100;
height = 100;
succeededAction = uploadAction1;
finishedAction = updateValuesAction;
}
Thanks
Kwasi O-Ahoofe
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
