Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-18345

[RFE] Default bookmarks should not be recreated on upgrade

XMLWordPrintable

      Description of problem:

      The default host bookmarks like active, disabled, error etc are always recreated even if I delete them. We should keep them deleted if user decides to delete those.

      Version-Release number of selected component (if applicable):

      How reproducible: when the audit record about the deletion gets cleaned up

      Steps to Reproduce:
      1. visit the all Hosts page, list bookmarks
      2. delete one by "Manage bookmarks"
      3. make sure the audit record about the deletion gets removed (cleaned up), e.g. by setting some value to Setting[:audits_period] and run foreman-rake audits:expire
      4. run foreman-rake db:seed

      Actual results:

      the bookmark is created again

      Expected results:

      it should not be recreated

      Additional info:

      we can no longer rely on audits (cleared after some time), we should probably split db:seed and initial setup data.

            jira-bugzilla-migration RH Bugzilla Integration
            hms-mhulan Marek Hulan (Inactive)
            RH Bugzilla Integration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: