Version 5.x-1.1 identifier incorrectly left in version 5.x-1.4 adminrole.info file

majortom - April 8, 2008 - 20:04
Project:Admin Role
Version:5.x-1.4
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r DRUPAL-5--1-4 -d adminrole contributions/modules/adminrole

results in this error from update status:

Admin Role 5.x-1.1
Recommended version: 5.x-1.4 (2007-Jun-22) Download · Release notes
Includes: Admin Role

#1

Benjamin Melançon - May 9, 2008 - 15:00
Title:CVS Drupal-5--1-4 tag retrieves version 5.x-1.1 version.» Version 5.x-1.1 identifier incorrectly left in version 5.x-1.4 adminrole.info file

The cause of this error is that the previous automatically-added version information in the .info file must have gotten committed to the project at some point. As a result, this first listing of 5.x-1.1 overrides the automatically-added correct version. This is what the .info file looks like when downloaded through the packaging system --

name = Admin Role
description = Create a role to be 'admin' and automatically assign all perms to that role.
version = "DRUPAL-5"
package = User Access
; Information added by drupal.org packaging script on 2007-05-04
version = "5.x-1.1"
project = "adminrole"

; Information added by drupal.org packaging script on 2007-06-23
version = "5.x-1.4"
project = "adminrole"
datestamp = "1182579303"

The first listing is not automatic and (like the second listing) should NOT be part of the file committed to CVS.

The attached patch should fix this.

benjamin, Agaric Design Collective

AttachmentSize
adminrole_info.patch 483 bytes

#2

Benjamin Melançon - May 9, 2008 - 15:01
Status:active» needs review

Which means that the patch needs review...

#3

JacobSingh - June 25, 2008 - 11:36
Status:needs review» patch (to be ported)

Put this in DRUPAL-5

#4

JacobSingh - June 25, 2008 - 12:09
Status:patch (to be ported)» fixed

#5

Anonymous (not verified) - July 9, 2008 - 12:15
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.