Red Hat Bugzilla – Bug 700226
Can't multi-select and delete more than 1 configuration history
Last modified: 2011-05-23 21:14:27 EDT
Description of problem:
Can't multi-select and delete more than 1 configuration history for a resource.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. On any resource's configuration, make some changes so there are 3 or more configuration histories.
2. Multi-select 2 configuration histories (not including the current)
3. Hit the delete button.
only1 configuration history is deleted.
the selected configuration histories would be deleted.
this is an easy fix, we should fix this for release:
doomedIds[i] = selected.getAttributeAsInt(AbstractConfigurationHistoryDataSource.Field.ID);
we forgot to increment i:
doomedIds[i++] = selected.getAttributeAsInt(AbstractConfigurationHistoryDataSource.Field.ID);
commit 0bbe5a5 in master - we should cherry pick this over, its a trivial fix and is clearly the solution to this bug
release-4.0.0 branch commit: 4ae8ecc92c1f96bd9d1bf1ce5c1a4b7935c1ab53
Verified on rhq4 release build. (Version: 4.0.0 Build Number: db0c817)
Selected 2 configuration histories on resource config history page and deleted them successfully.
Marking as verified.
Bookkeeping - closing bug - fixed in recent release.