Run runonce/upgrade_versions.py on preview db

VERIFIED FIXED

Status

addons.mozilla.org Graveyard
Public Pages
--
major
VERIFIED FIXED
9 years ago
2 years ago

People

(Reporter: davedash, Assigned: chizu)

Tracking

Details

(URL)

runonce/upgrade_versions.py needs to be run on the previewdb...
(Assignee)

Comment 2

9 years ago
oremj says this was run.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED
Reoppening, not sure why it didn't apply, but:

the versions table shouldn't have null items in the version_int column:

http://pastebin.mozilla.org/671200

If I can get DB write access, I can do this myself.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This is blocking QA.  Marking as major.
Severity: normal → major
>>> from upgrade_versions import translate
>>> translate("0.8")
'00080000200100'
>>> translate("1.6")
'01060000200100'

Looks like it translates those two correctly in the script...

looking in the database, the entire column is NULL.   Looks to me like it didn't actually get run.  FWIW, that column does have valid data in it in production, so maybe it got ran there instead?

Anyhow, I just ran it on preview, and it appears to have updated.
Status: REOPENED → RESOLVED
Last Resolved: 9 years ago9 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.