Error Messages Do Not Display when Adding Attachments in Performance Management Documents. (Doc ID 2067649.1)

Last updated on OCTOBER 20, 2015

Applies to:

PeopleSoft Enterprise HCM ePerformance - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.


When attachments are added in Performance Documents, error messages do not display when:
(1) Character length of the document name exceeds 64 characters. The document is not loaded and no error message displays to alert the user there is an issue. Message "AddAttachment failed: File name too long (137,55) Call to AddAttachment method failed because the specified file name was too long." displays in other areas.
(2) We do not allow certain file types to be attached (e.g., .exe or .bat files). The documents are not able to be loaded but no error message displays to alert the user. Message "AddAttachment failed: Unauthorized file extension (0,0)" displays in other areas.


The issue can be reproduced at will with the following steps:
(1) Login as PS ID.
(2) Created a document for Cynthia Adams, KU0101.
a. Period Begin = 1/1/2015
b. Period End = 3/31/2015
c. Clone from Prior Document = No
d. Template = Ind Cont 9.2 Imple
(3) Accessed document in Current Documents.
a. Approved the Criteria section and started the Manager Evaluation.
b. Added an attachment.
i. Included a Description and made the Attachment Audience = Employee and Manager.
ii. Saved
c. Tried to add an attachment where the document name exceeds 64 characters.
i. Selected the document and clicked “Upload”.
ii. Am returned to the evaluation; however, the second attachment is not added and no message appears.
(4) Modified in the attachment utility to not allow certain file types (e.g., .exe). There is a delivered message that should display but is not. We have not modified demo to add these types.
a. In our test region, they cannot be attached; however, no error message displays.
b. The code we added in our test region is shown below.
(5) This is the add attachments code being fired when we click the link. We suspect the difference between those that work/not is this is using an App Package and others are not.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms