275 views

Description

Extraneous records are created in the sys_update_version table due to apparent Dictionary changes - however, these records are created even when no actual Dictionary changes have occurred.

Steps to Reproduce

  1. As an admin user, elevate permissions to security admin.
  2. Navigate to System Definition > Scripts - Background.
  3. Create a sys_user record using the following script.

var xml = "<import>";
xml += "<sys_user>";
xml += "<user_name>steven.rogers</user_name>";
xml += "<email>steven.rogers@example.com</email>";
xml += "<first_name>Steven</first_name>";
xml += "<last_name>Rogers</last_name>";
xml += "</sys_user>";
xml += "</import>";

var xmlDoc = new XMLDocument(xml);
var importSetUtil = new ImportSetUtil();
importSetUtil.loadFromXML("/import/sys_user", xmlDoc, "sys_user");

 

Expected behavior is that a sys_user record is added and no changes are made to dictionary record for sys_user table since all columns in XML are already present in dictionary table.

Actual behavior is that a sys_user record is added. However sys_version_update record is created even though there are no changes made to dictionary record for sys_user table.

Workaround

There is no workaround.


Related Problem: PRB632390

Seen In

Dublin EA 8
Helsinki Patch 4

Fixed In

Jakarta

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-11-30 10:26:30
Published:2016-09-29