OPA 10.4.5 : Determinations Server Strips Line Breaks (Doc ID 1989638.1)

Last updated on MARCH 02, 2017

Applies to:

Oracle Policy Modeling - Version 10.4.4.21.0 and later
Information in this document applies to any platform.

Symptoms

On : 10.4.5 version, Oracle Policy Automation

Determinations Server strips line breaks

ERROR
-----------------------

There was an attempt to change the value of a control that is read only. The submitted value for this control has been discarded.


STEPS
-----------------------
In an interview service implementation we have multi-line text boxes. We've tried both plain text and encoded in
This causes two issues >>

1. Any attributes that are read-only and are multi-line when trying to submit them via the Interview Service we get the following error:

There was an attempt to change the value of a control that is read only. The submitted value for this control has been discarded.

2. The other error is any non-read only fields totally lose their line breaks - not acceptable to business.

An educated guess would place the root of the problem in com.oracle.util.StreamUtils.toUTF8String stripping out the linebreaks from the XML CDATA before the XML readers set the value of the attribute.

Our version is 10.4.5.

BUSINESS IMPACT
-----------------------
As line breaks are being removed in read only fields, our application does not work at all. We cannot get past the first effected screen.

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