Description of problem: Revert bundle to a version fails Version-Release number of selected component (if applicable): jon-server-2.4.0.GA_QA Build# 51 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. Actual results: Revert Deployment confirmation and Provide Revert information both the pages are blank and when clicked on Next the revert fails. Expected results: The page should display the revert deployment confirmation and provide revert information page with some values to input. Additional info: This to me looks like a manifestation of Bug 612115
fix commit: 91c9d1fb7849b9966f60a2cdeb8bca1903e3389c The only way I could reproduce the above situation was to click Revert when if fact the destination had only 1 deployment. Meaning, in the destination view page there is only one deployment in the list. In this situation the live deployment is the *only* deployment and there is nothing to revert to. I've improved the revert wizard to better handle this situation and display a (hopefully) useful message. And it will not let the user continue past the first step.
Verified on latest jon 2.4.0.GA_QA build#53 If the destination view page has only one deployment in the list and user clicks 'Revert' button, below messages is displayed in the wizard: Live deployment [BundleDeployment[id=10031, name=Deployment [1] of Version [1.0] to [deployversion1]]] can not be reverted. There is no prior deployment for the destination [BundleDestination[id=10031, bundle=example, group=linux1, name=deployversion1]] Deployed version2 of the bundle to same destination. Navigated to the destination tab and clicked on 'Revert' button. The bundle is reverted successfully to previous version.
Mass-closure of verified bugs against JON.