Closed (fixed)
Project:
Project
Version:
5.x-1.x-dev
Component:
Releases
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
11 Mar 2008 at 14:17 UTC
Updated:
12 Apr 2008 at 08:31 UTC
Jump to comment: Most recent file
I need some explanation here. Why is the development version recommended instead of the official version?
see screenshots
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 232812_xml_order.patch | 2.87 KB | dww |
| update_views.png | 9.77 KB | pasqualle | |
| project_views.png | 8.95 KB | pasqualle |
Comments
Comment #1
dwwThe problem is in the .xml files generated on drupal.org that the Update status module is using, not in the client code in Drupal core. In this particular case, the DB fields for the views 6.x-2.x-dev release were slightly invalid compared to what the script generating the .xml files was expecting. That resulted in the -dev release being listed first in the .xml file, which confused the Update status client code. I fixed the DB record, and re-ran the script to generate the .xml files, so if you "fetch manually" again on your available updates report, you should see the right thing.
However, I checked and there are about 40 other -dev releases with similarly wrong DB info. Instead of fixing all of those manually, I'm just going to work on a patch to the script that generates the .xml files to be more robust in this case, and ensure that the -dev releases are always listed where they're supposed to.
Comment #2
dwwComment #3
dwwThe patch is relative to project/release/project-release-create-history.php, so I'm moving this issue to a more appropriate queue. I did test this on p.d.o and it works as intended, but if anyone else wants to give it a quick look before I commit and deploy, that'd be nice.
Comment #4
aclight commentedCode looks good but I'm not sure how best to test this.
Comment #5
dwwI know it works since I ran it on d.o. Committed to HEAD and DRUPAL-5. Deployed on d.o.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.