http://bugzilla.wpkg.org/show_bug.cgi?id=77





--- Comment #10 from Falko Trojahn <[EMAIL PROTECTED]>  2007-10-30 10:04:53 ---
Created an attachment (id=43)
 --> (http://bugzilla.wpkg.org/attachment.cgi?id=43)
Testcase for bug#28

Full ACK. Such a patch would be great, Rainer, since it makes no sense having
not existent packages(or profiles) still listed in a profile, so wpkg would
assume an error and never try to remove them. 

BTW: I don't want to remove packages from the packages database which I need,
but what about syntax errors in xml files? You can try the following (not on a
production system, please!): 

Put the attached  "testbug28.xml" in your packages path, assign package
"testbug28"  to a profile (and the profile to a host), let wpkg install it.
Then uncomment the erroneous line in "testbug28.xml" and synchronize again,
e.g. using
  cscript wpkg.js /synchronize /debug
You see:

There were the following errors:

Error reading file: w:\packages.xml

Fehler beim Analysieren von "file:///w:/packages/testbug28.xml". Ein Name
beginnt mit einem ungültigen Zeichen.

So, wpkg marks _all_ packages for removal (not just the package with the
error!). But, since the packages are listed in "profiles", they are marked as
zombies and not really removed.


-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to