Hi,
I've been trying to find out the bug part of my package when it's uninstalling.
When the package was installing, it filled some default data to the database.
When I tried to uninstalled it back, apparently the uninstall process tried to revert the data insertion back, too.
This is the transport I've built.
https://github.com/goldsky/ExerPlan/blob/develop/_build/exerplan/build.transport.php
Please see attachments of the erroneous.
And the error log has this
[Fri May 24 21:10:14.343750 2013] [:error] [pid 2136:tid 1144] [client 127.0.0.1:4056] PHP Catchable fatal error: Object of class xPDOObjectVehicle could not be converted to string in D:\\localhost\\modx-revo-test\\core\\model\\modx\\modlexicon.class.php on line 432, referer: http://localhost/modx-revo-test/www/manager/index.php?a=69
[Fri May 24 21:11:10.218750 2013] [:error] [pid 2136:tid 1120] [client 127.0.0.1:4111] PHP Catchable fatal error: Object of class xPDOObjectVehicle could not be converted to string in D:\\localhost\\modx-revo-test\\core\\model\\modx\\modlexicon.class.php on line 432, referer: http://localhost/modx-revo-test/www/manager/index.php?a=69
All snippets, action & menu, namespace, were uninstalled.
All files were removed.
But modx_transport_packages keeps the package.
I've tried to validate the uninstall process using this
https://github.com/goldsky/ExerPlan/blob/develop/_build/exerplan/validators/tables.validator.php
but looks like it's ignored.
Would anyone point me my mistake on the build?
TIA
[ed. note: goldsky last edited this post 13 years, 4 months ago.]