Notifications

264 views

Description

Upgrading the com.snc.service plugin overwrites changes made to the sys_user Dictionary record.

Steps to Reproduce

 

  1. Make a change to the sys_user collection dictionary record (for example, enable audit).

    For more information, see the documentation topic Enable auditing for a table.

  2. Set the mod count of the record to 0 by navigating to System Definition > Scripts - Background and running the following:

    var gr = new GlideRecord('sys_dictionary');
    gr.get('<SYS_ID>'); //replace this with the sys_id of the sys_user dictionary record
    gr.setSystem(true);
    gs.print(gr.getValue('sys_mod_count')); //prints the old sys_mod_count
    gr.setValue('sys_mod_count', 0);
    gr.update();
    gs.print(gr.getValue('sys_mod_count')); //make sure the new sys_mod_count is 0
  3. Navigate to sys_upgrade_state and delete the record for sys_dictionary_sys_user_.xml.

  4. As maint, activate the com.snc.service plugin.

    For more information, see the product documentation topic Activate a plugin.

  5. Navigate back to the sys_user collection dictionary record.

    Note that the customization is overwritten.

 

Workaround

Apply the customizations to the table collection record manually after the upgrade.


Related Problem: PRB828187

Seen In

There is no data to report.

Fixed In

Helsinki Patch 10
Istanbul Patch 5
Jakarta

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-02-26 09:25:55
Published:2017-05-08