Duplicate entries in some release history XML files

dww - February 23, 2009 - 09:09
Project:Project
Version:6.x-1.x-dev
Component:Releases
Category:bug report
Priority:normal
Assigned:dww
Status:active
Issue tags:drupal.org upgrade
Description

I noticed this when working on #380724: PHP notice at "Available updates" check: Some of the XML history files have duplicate <release> entries for a single release node. For example:

http://updates.drupal.org/release-history/languageicons/6.x

There are three identical entries for languageicons 6.x-1.1. I have no idea if this was caused by:

A) #376666: Release node created without title by "preview"
B) #376062: Port project-release-create-history.php to D6
C) #378890: package-release-nodes.php creating new entries in {files} and {project_release_file} when rebuilding -dev snapshots
D) None of the above. ;)

Figured a new issue was the best approach in this case...

#1

JoshuaRogers - September 8, 2009 - 20:07

Subscribe

Would you say that this is probably the same issue that causes things like this to appear in the release XML?

  <terms>
   <term><name>Projects</name><value>Drupal project</value></term>
   <term><name>Projects</name><value>Drupal project</value></term>
   <term><name>Projects</name><value>Drupal project</value></term>
   <term><name>Projects</name><value>Drupal project</value></term>
   <term><name>Projects</name><value>Drupal project</value></term>
   <term><name>Projects</name><value>Drupal project</value></term>
  </terms>

#2

dww - September 8, 2009 - 22:49

Yup. It's almost certainly poorly crafted SQL queries involving taxonomy, since it's easy to screw those up.

 
 

Drupal is a registered trademark of Dries Buytaert.