E-PIA: PIA Getting Logged Out When a Warning Message is Triggered from Event Mapping.
(Doc ID 2915035.1)
Last updated on DECEMBER 12, 2022
Applies to:
PeopleSoft Enterprise PT PeopleTools - Version 8.58 and laterInformation in this document applies to any platform.
Symptoms
When the user configured an Event Mapping for the Job Data component and added the warning message code in it.
when a user tried to access the Job Data Component but PIA gets kicked out after showing the warning/win message.
It is expected that the Warning Message Pop-up should be closed without any logout issue.
Steps to reproduce the issue
--------------------------------
The issue can be reproduced at will with the following steps:
1. Create a new Application Package in the Application Designer
2. Add the below sample code under the application_class (JobSaveEdit) and "OnExecute" event
import PT_RCF:ServiceInterface;
3. Navigate to PeopleTools -> Portal -> Related Content Service -> Define Related Content Service and enter all the Details
4. Now navigate to Main menu -> workforce Administration -> Job Information -> Job data.
5. Select any user id.
6. Click on correct History.
7. Under Work Location tab, change the Reason field to some other value.
8. Click on Save. It triggers a Warning message and then signs out.
Sample Problem Code:
--------------
import PT_RCF:ServiceInterface;
class JobSaveEdit implements PT_RCF:ServiceInterface
method execute();
method eve_execute(&str As string); /* New line to be added*/
end-class;
/* --------------------------------------------------------------------- */
method execute
/+ Extends/implements PT_RCF:ServiceInterface.execute +/
/* CODE MOVED INTO EVE_EXECUTE() BELOW*/
end-method;
method eve_execute
/+ &str as String +/
/+ Extends/implements PT_RCF:ServiceInterface.eve_execute +/
If GetRow().IsChanged Then
MessageBox(0, "", 30000, 1, "Warning Message", "#1");
End-If;
end-method;
----------------
Note: It was identified that there is no issue with winmessage But when using as warning message as above sample code, the page not getting saved.
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! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |