[wpkg-users] [Bug 145] Dependancy error when removing packages
Falko Trojahn
nospam_ft at smi-softmark.de
Mon May 4 10:03:55 CEST 2009
Hello Kalmi,
> I'm still expriencing this error.
> I uploaded a complete(but minimalistic) test environment where you can
easily
> reproduce the bug by just running a bat file.
thanx for your file.
Some time ago I've written a regression suite for wpkg,
I've sent it to Rainer last week together with actual tests for recent bugs.
Just didn't find the time to write a documentation in the Wiki and to put
it in CVS.
I can tell, that the test suite runs without any error for wpkg version
1.0.2 and 1.0.4, but not for 1.1.0-Mxx up to M27.
I've integrated your files into the test suite. If you do such tests, make
sure, that you don't use the standard wpkg.xml file on your computer - you
should use parameter "settings_file_path" in config.xml to use an other
place to store wpkg.xml.
Your test works to show the "Null" error, but does not show the dependency
error. For this, you must have at least two packages A and B which depend
from the same package C, which are going to be removed. In this case, you
need 2 runs of wpkg.js to remove all packages, 3 if you have 3 dependent
packages and so on.
Best regards,
Falko
More information about the wpkg-users
mailing list