My Oracle Support Banner

Logs Not Updating in History When Validating the File Name at Update Attachments Table Event (Doc ID 2417167.1)

Last updated on JUNE 29, 2018

Applies to:

Oracle Agile PLM Framework - Version 9.3.3.0 and later
Information in this document applies to any platform.

Symptoms

Actual Behavior

Errors are provided in upload selector window but not in History table using pre event on Update Table event for Attachment table when attachment including special character is attempted to add


Expected Behavior

Errors to be provided in both upload selector window and history table using pre event on Update Table event for Attachment table when attachment including special character is attempted to add

Steps

The issue can be reproduced at will with the following steps:

  1. Login to Java Client as admin user
  2. Configure below events:
    • Event
      Event Type: Update Table
      Name: Update Table Docs
      Object Type: Documents
      Table Name: Attachments
    • Event Handlers:
      Handler Type: Script PX
      Name: Validate Attachments for Docs
      Role: Include roles with privileges to update attachment file to Document Type
      Script:
       
    • Event Subscriber:
      Name: Validate Attachments for Docs
      Event: Update Table Docs
      Event Handler: Validate Attachments for Docs
      Trigger Type: Pre
      Execution Mode: Synchronous
      Error Handling Rule: Stop
  3. Prepare file with file name: test@123.txt4. Login to Web Client, and create document object
  4. Goto Attachment tab, and add file: test@123.txt
  5. On the file uploader, see "Error"
  6. Place a mouse over "Error", then you can see the detail error message "Invalid File Name(s),["test@123"] please remove special characters in the file names and attach again." in the popup window
  7. Goto History tab. Do not see error generated by Event PX
  8. Check stdout.log. See below error generated:
    Invalid File Name(s),["test@123"] please remove special characters in the file names and attach again.
    org.codehaus.groovy.runtime.InvokerInvocationException: com.agile.agileDSL.ScriptObj.AgileDSLException: Invalid File Name(s),["test@123"] please remove special characters in the file names and attach again

Changes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.