History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OX-5083
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Chris Nutting
Reporter: Chris Nutting
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
OpenX Ad Server

Plugins could potentially become downgraded (via installer or UI)

Created: 12/Mar/09 12:05 AM   Updated: 27/Mar/09 01:53 PM
Component/s: OXP: Plugins
Affects Version/s: OpenX 2.7.30-beta, OpenX 2.7.31-beta
Fix Version/s: OpenX 2.7.31-beta, Milestone 29
Security Level: Public (All users can see these issues)

Time Tracking:
Original Estimate: 6h
Original Estimate - 6h
Remaining Estimate: 0h
Time Spent - 2h
Time Spent: 2h
Time Spent - 2h Time Not Required

Issue Links:

 Description  « Hide
It seems to be possible that if the package being uploaded/upgraded is older than the installed plugin, the plugins gets downgraded.

I haven't verified this myself, but Miguel has reported this as an issue.

The upgrade mechanism should skip upgrading any plugins where the version of the new plugins is less than or equal to the currently installed version

 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Miguel Correa - 12/Mar/09 12:03 PM
Test Case:
  • Installed openXDeliveryLimitations 1.0.5 with the next groups versions:
    Client 1.0.3
    Geo 1.0.0
    Site 1.0.2
    Time 1.0.0
  • Configuration > Plugins > openxDeliveryLimitations Details
  • Try to upgrade the plugin with openXDeliveryLimitations version 1.0.0
  • Next error message it's displayed: "Upgrade package openXDeliveryLimitations" has a version stamp that is older than that of the package you have installed"

openxDeliveryLimitations plugin is downgraded to version 1.0.0 and the groups version are downgrade to:
Client 1.0.0
Geo 1.0.0
Site 1.0.0
Time 1.0.0

The same issue is happening using the installer.

Chris Nutting - 20/Mar/09 02:33 AM
I think that the fix for this (plugins are not upgraded if the version number is less than or equal) may have reopened OX-5027

It's not that anything's gone wrong, but the message shown in the installer upgrade may be the "Failed to parse server response" message

Lukasz Dybcio - 27/Mar/09 01:53 PM
Working good in openx-2.7.31-beta-rc3, closing.