version line in outline.info + stable release.

asbdpl - June 18, 2007 - 14:32
Project:Outline
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When installing the module in version 5.x-1.0 from 2007-Mar-21, I get the following error message:

warning: Error parsing modules/outline/outline.info on line 4 in /var/www/.../includes/module.inc on line 195.

When accessing the Admin section admin/build/modules, this error messages keeps reappearing multiple times.

Regards, -asb

#1

beginner - June 18, 2007 - 14:43
Title:warning: Error parsing modules/outline/outline.info on line 4...» version line in outline.info + stable release.
Version:5.x-1.0» 5.x-1.x-dev

This was reported a while ago http://drupal.org/node/134840 and fixed in the dev version.
Download the latest dev snapshot and that'll solve your problem.

I should:
1) remove the version line in .info as per latest policy.
2) create new stable release for people to download.

#2

gwolf - January 31, 2008 - 23:14
Status:active» reviewed & tested by the community

Just to illustrate a bit... The patch is as easy as follows: Just remove line number 4 :)

--- drupal5-outline-1.0.orig/outline.info
+++ drupal5-outline-1.0/outline.info
@@ -1,7 +1,6 @@
; $Id: outline.info,v 1.3 2007/01/07 20:50:46 pwolanin Exp $
name = Outline
description = Allows content to be organized into hierarchical outlines
-version = $Name: DRUPAL-5--1-0 $

; Information added by drupal.org packaging script on 2007-03-21
version = "5.x-1.0"

#3

beginner - August 14, 2008 - 14:09
Status:reviewed & tested by the community» active

#2 is not a patch.
As said in #1, it was already committed in the D5 branch.

 
 

Drupal is a registered trademark of Dries Buytaert.