Parth Jagirdar created CLOUDSTACK-1901:
------------------------------------------

             Summary: API:MS: DeleteEvents deletes Archived events as well
                 Key: CLOUDSTACK-1901
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1901
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API, Management Server
    Affects Versions: 4.2.0
         Environment: Master # 171
            Reporter: Parth Jagirdar


deletEvents should not delete Events already Archived.

This completely voids the purpose of Archive feature.

1 Login as a User.

2 Log Out

3 Login as a User again.

4 Go to events and Archive USER.LOGIN by category. Ensure Archive flag set to 1.

5 Log Out.

6 Login again as User

7 Go to Events. At this point we should have 2 Archived USER.LOGIN  (not 
displayed on UI) And 1 USER.LOGIN unarchived and displayed on UI.

8 Delete Events by Category USER.LOGIN.

9 Observe all USER.LOGIN being deleted from DB.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to