Skip to content

The value for 'onErrorAction' field is added automatically when updating policy parameters #5594

@ruslanPL-EnvisionBlockchain

Description

Problem description

When we add/update any parameter(except 'onErrorAction' field) for policy, the value for 'onErrorAction' field is added automatically when updating policy parameters.

Step to reproduce

  1. Login to SR user.
  2. Go to Manage Policies page
  3. Import/Create a policy which has 'Choose_Roles' block(first letters in both words should be uppercase) inside(e.g. 'ACM0007.policy')
  4. Click on 'Choose_Roles' block.
  5. Update Tag name to any name(e.g. 'Choose_Roles-new')
  6. Click on 'Save' button to save changes.
  7. Go back to 'Manage Policies' page.
  8. Click 'Compare' button and see that 'Choose_Roles' block.
  9. Go back to edit policy mode.
  10. Update Tag name to the initial name(e.g. 'Choose_Roles')
  11. Click on 'Save' button to save changes.
  12. Go back to 'Manage Policies' page.
  13. Pay attention to the 'Modified' field for the updated policy.
  14. Click 'Compare' button and see that 'Choose_Roles' block.

Expected behavior

  1. There should be only one updated property - tag.
  2. On the Modified column for the policy the should be disabled button called 'No changes'.
  3. No 'Compare' button should be displayed because all the changes were reverted back to the initial state.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions