Action Check Label Gets Truncated Upon Saving (Doc ID 763759.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 5.5.03.02
This problem can occur on any platform.

Symptoms

When creating an action check (can be anything) with a condition, cause and solution, if one goes back to the action check, selects and edits it, then saves it after changing nothing, the following
error is seen.

Error Found Handling The Request.
The XID invoice_refnum/issue_date entered for field Solution does not match a valid record

at
jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;)Ljava.lang.Object;(Unknown
Source)
at java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at glog.util.exception.GLException.factory(GLException.java:413)
at glog.util.exception.GLException.factory(GLException.java:390)
at glog.webserver.util.DocumentUpdateServlet.getValueFromQuery(DocumentUpdateServlet.java:1099)
at glog.webserver.util.DocumentUpdateServlet.getValueFromQuery(DocumentUpdateServlet.java:1057)
at glog.webserver.util.DocumentUpdateServlet.getValueFromRequest(DocumentUpdateServlet.java:990)
at glog.webserver.util.UpdateRequestProcessor.getValue(UpdateRequestProcessor.java:138)
at glog.webserver.util.UpdateRequestProcessor.process(UpdateRequestProcessor.java:84)
at glog.webserver.util.DocumentUpdateServlet.getDocument(DocumentUpdateServlet.java:65)
at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:81)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:614)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at glog.webserver.session.ParameterValidation.doFilter(ParameterValidation.java:29)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker.java:54)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

When selecting 'l' (for list) when being on the Cause field of the action checks, there are
countless labels with various prefixes, among them:

'Label.'
'solution.'
'error.'
'cause.'
'button.'

and loads of others.

If one of the labels is edited, below the Label ID there is a list with all the different
languages and texts. What is expected is that once a Cause and Solution is entered into an Action
Check, the user should get the text from this list displayed in his language.

Problem A: If Cause and/or Solution with a "prefix" is entered via the GUI, the prefix gets lost
via the GUI after saving and has to be re-entered when editing, otherwise the record cannot be
saved again.

Problem B: If a label without a "prefix" is created as a workaround for problem A, the XID of the
label is displayed, i.e. what is in the field 'Label ID' and NOT the text from the text column in
the list below.

1. Conf Admin -> user config -> manage user access (leave Action Checks in the User Access
Type dropdown), click 'edit user access'
2. Enter (for example) DELETE SERVICE PROVIDER as an action ID
3. The query we used is select servprov_gid from cutoff_recovery_time where servprov_gid = $GID
(which is also in cut off and recovery).
4. Click on 'f' next to the CAUSE field.
5. Search and select one that starts with 'cause.'
6. Same for the SOLUTION field, this time select one that starts with 'solution.'
7. Save and finish.

Re. Problem A.: If you edit the record again, the 'cause.' and 'solution.' is missing from the
CAUSE and SOLUTION fields respectively and the record cannot be saved and finished again, unless
you manually add them again.

Re. Problem B:

1. Repeat steps 1 to 3.
2. Click on 'n' next to the CAUSE field.
3. Create a new label without the 'cause.' in the label ID.
4. Repeat step 2 and 3 for the SOLUTION field, this time without 'solution.' in the label ID.
5. If the action check is triggered, the user does not get the text displayed, that was entered
while creating the labels, he gets the label ID displayed instead.

Cause

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