Description of problem: When a user tries to revert a bundle from say version2 to version1, the bundle revert wizard displays the version number of live deployment. However it does not display the bundle version of previous deployment. Version-Release number of selected component (if applicable): JON 2.4 GA_QA (tag-jon-release build# 53) How reproducible: Always Steps to Reproduce: 1. Go to Administration -> Content -> Bundle 2. Upload and deploy a bundle version say version 1 3. Upgrade to bundle version 2. 4. Navigate to 'Destination' tab for bundle version 2 5. Click on 'Revert' button. 6. Verify the 'Bundle version' value in 'Previous Deployment' section. Please refer the attached screenshot. Actual results: In 'Live Deployment' section of the page, the label 'Bundle Version' displays the version as 2.0. In 'Previous Deployment' section of the page, the label 'Bundle Version' does not display the version. Expected results: In 'Previous Deployment' section of the page, the label 'Bundle Version' should display the version as 1.0. Additional info:
Created attachment 430656 [details] Screenshot
jshaugn had previously committed 71f2f42e257b49bf5435b525e1ee36a3798a7bc9 on 7/14/2010 which removed the previous bundle version string from the UI with this commit comment: "remove the previous bundle version field, it wasn't available w/o another db rt and the info is already in the name/description." I put that field back and made the async call to do that second query. Only need the query if the previous bundle version is different than the live one - which is most of the time, but not all the time (as when you redeploy the same bundle version over top of itself). I also noticed the description field was incorrect - it was showing the name, not the description... i fixed that too. this is all fixed in commit 5dc0d1c0aa10da93ea73bfda9bc9b642b5daf543
this is verified. with RHQ 4.0 CR1, I uploaded, deployed, deleted, and purged bundles.
Bookkeeping - closing bug - fixed in recent release.