I have an AjaxFileUpload on a page that works fine in development but not in deployment. When I upload a file I get an UnknownKeyException on the AjaxProgressBar inside the AjaxFileUpload ??
UploadPicture: AjaxFileUpload {
data = uploadedFile;
filePath = fileName;
succeededAction = savePhoto;
uploadLabel = "Upload photo";
finishedFunction = "img_previewUpdate();";
progressBarBeforeStart = true;
refreshTime = 1000;
}
"URL" = "/cgi-bin/WebObjects/MyApp.woa/4/ajax/6.0.9.1.2.9?_u=_0ProgressBar&1324052204904";
}
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException: [<er.ajax.AjaxProgressBar name: er.ajax.AjaxProgressBar subcomponents: null > valueForKey()]: lookup of unknown key: 'uploadFormID'.
The WOComponent er.ajax.AjaxProgressBar does not have an instance variable of the name uploadFormID or _uploadFormID, nor a method of the name uploadFormID, _uploadFormID, getUploadFormID, or _getUploadFormID
at com.webobjects.appserver.WOComponent.handleQueryWithUnboundKey(WOComponent.java:1764)
at com.webobjects.foundation.NSKeyValueCoding$Utility.handleQueryWithUnboundKey(NSKeyValueCoding.java:494)
at com.webobjects.foundation.NSKeyValueCoding$_KeyBinding.valueInObject(NSKeyValueCoding.java:894)
at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324)
at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736)
at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447)
at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212)
at com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804)
at com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50)
at er.extensions.components._private.ERXWOForm._formName(ERXWOForm.java:296)
at er.extensions.components._private.ERXWOForm._clearFormName(ERXWOForm.java:338)
at er.extensions.components._private.ERXWOForm.invokeAction(ERXWOForm.java:230)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079)
at com.webobjects.appserver._private.WOComponentReference.invokeAction(WOComponentReference.java:127)
at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105)
at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115)
at com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponentContent.java:38)