Item10290: Package.pm fails parsing MANIFEST if non-topic files are installed into data

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Engine
Component: Package.pm
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: KennethLavrsen
The regular expressions in Package::_parseManifest fail to identify the target web if non-standard files are installed into a data/Web directory.

The issue was exposed by TopicClassificationAddOn - which installed a changes and webnotify file into the web. These should be omitted from the manifest, but Package installer should be more robust and not fail if invalid files are installed into the web.

Initial fix will be to bypass illegal files with an error message to STDERR. Will evaluate a more complete solution.

-- GeorgeClark - 26 Jan 2011

Pass back a warning and bypass any lines in the manifest. data needs to identify a valid Web and Topic.txt file. pub should identify a web, topic and attachment. If these components are missing the file will be bypassed during installation and a warning returned in the results.

-- GeorgeClark - 26 Jan 2011
 

ItemTemplate edit

Summary Package.pm fails parsing MANIFEST if non-topic files are installed into data
ReportedBy GeorgeClark
Codebase 1.1.2, trunk
SVN Range
AppliesTo Engine
Component Package.pm
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:ba94c742c83c distro:19e1262ad71e
TargetRelease patch
ReleasedIn 1.1.3
Topic revision: r5 - 16 Apr 2011, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy