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...

Comments

Anonymous’s picture

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>
dww’s picture

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

dww’s picture

Assigned: dww » damien tournoud
Status: Active » Needs review

DamZ posted a patch for this at #670658: Release XML contains repeated terms

http://drupal.org/files/issues/670658-duplicate-terms-in-release-history...

Due to JOINing term_node on nid instead of vid. So, looks like option (B) from the original post. ;)

dww’s picture

Assigned: damien tournoud » dww
Status: Needs review » Needs work
Issue tags: -drupal.org upgrade +needs drupal.org deployment

Tested on d6.p.d.o and works great. Closely reviewed -- looks great. Committed to HEAD. Just needs to be deployed and run, probably later this afternoon... Thanks!

dww’s picture

Status: Needs work » Fixed
Issue tags: -needs drupal.org deployment

Deployed and all release history files regenerated. Yay!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.