Problem Note 55050: You might be able to add a comment to an unsaved case, incident, or subject in SAS® Enterprise Case Management
SAS Enterprise Case Management should require you to save a new case, subject, or incident before you add a comment. However, you might be able to add a comment to the unsaved case, subject, or incident.
This problem occurs because the system does not honor the readonly attribute for comments and attachments.
To work around the problem, you can specify the IsEntitySaved() Custom Page Builder function in your UI definition file. With this function, the system displays the CommentsAndAttachments field only after the entity is saved. For example:
<if test="IsEntitySaved()">
<field type="component" required="false" component-name="CommentsAndAttachments" name="TEMP.COMMENTS">
<param name="height" value="500" />
<param name="objectTypeId" value="GetObjectTypeId('CASE')" />
<param name="objectId" value="CASE.CASE_RK" />
</field>
</if>
Click the Hot Fix tab in this note to access the hot fix for this issue.
With the hot fix, the system honors the readonly attribute for comments and attachments. For example:
<field type="component" required="false" component-name="CommentsAndAttachments" name="TEMP.COMMENTS" readonly="!IsEntitySaved()">
Operating System and Release Information
SAS System | SAS Enterprise Case Management | Microsoft® Windows® for x64 | 6.1 | 6.3 | 9.4 TS1M0 | 9.4 TS1M2 |
64-bit Enabled AIX | 6.1 | 6.3 | 9.4 TS1M0 | 9.4 TS1M2 |
64-bit Enabled Solaris | 6.1 | 6.3 | 9.4 TS1M0 | 9.4 TS1M2 |
HP-UX IPF | 6.1 | 6.3 | 9.4 TS1M0 | 9.4 TS1M2 |
Linux for x64 | 6.1 | 6.3 | 9.4 TS1M0 | 9.4 TS1M2 |
Solaris for x64 | 6.1 | 6.3 | 9.4 TS1M0 | 9.4 TS1M2 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2015-02-10 10:12:53 |
Date Created: | 2015-01-22 10:44:35 |