APAR status
Closed as program error.
Error description
Problem1: Set the min and max size for the image component(or file resouce component) in the authoring template, then try to upload an image which is larger than the max size, content won't be saved due to the over size exception, but user still able to see the name of the image in the UI with the delete button. Problem2: If user fill the "Upload an image file" field in the UI and then try to click "delete" button to delete the previous image, the UI will indicate that the new image(which specified in the "Upload an image file" field) get deleted.
Local fix
Problem summary
For problem1, the original resource is not back up before setting the new resources.. For problem2, the upload image field is not cleared before sending the request to the server.
Problem conclusion
For problem1, call unsetResoucecmpt before setting the new resource to back up the original one. If the image is not valid, then UI can easily change back to the old resource. For problem2, using javascript to clear the field before send the request to the server. An interim fix is available for this APAR from Fix Central at: PLEASE NOTE THE FIX FOR THIS APAR WAS REPLACED ON FIX CENTRAL ON MARCH 19, 2008 DUE TO A PACKAGING ERROR. IF YOU HAVE PREVIOUSLY DOWNLOADED THIS APAR INTERIM FIX YOU WILL WANT TO INSTALL THIS VERSION. WE APOLOGIZE FOR THE INCONVENIENCE. http://www.ibm.com/eserver/support/fixes/fixcentral/swgquickorde r?brandid=2&productid=Workplace%20Web%20Content%20Management&fix es=6.0.1.2-WCM-PK58636 You will need to cut/paste the entire URL into a browser to resolve the address.
Temporary fix
Comments
APAR Information
APAR number
PK58636
Reported component name
WRKPLC WEB CON
Reported component ID
5724I2900
Reported release
60F
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2007-12-26
Closed date
2007-12-27
Last modified date
2008-03-19
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WRKPLC WEB CON
Fixed component ID
5724I2900
Applicable component levels
R60F PSY
UP
[{"Business Unit":{"code":null,"label":null},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1.2","Edition":"","Line of Business":{"code":null,"label":null}}]
Document Information
Modified date:
10 September 2020