Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tested in MODX3 #31

Open
Ibochkarev opened this issue Mar 6, 2021 · 1 comment
Open

Tested in MODX3 #31

Ibochkarev opened this issue Mar 6, 2021 · 1 comment

Comments

@Ibochkarev
Copy link

Batcher

Tested version: 2.0.0-pl

On MODX 3 version: git install from 06-03-2021

Installation

Console running...
Attempting to install package with signature: batcher-2.0.0-pl
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
modx.modNamespace is deprecated since version 3.0. Replace references to class modx.modNamespace with MODX\Revolution\modNamespace to take advantage of PSR-4 autoloading.
modNamespace is deprecated since version 3.0. Replace references to class modNamespace with MODX\Revolution\modNamespace to take advantage of PSR-4 autoloading.
modNamespace is deprecated since version 3.0. Replace references to class modNamespace with MODX\Revolution\modNamespace to take advantage of PSR-4 autoloading.
modx.modCategory is deprecated since version 3.0. Replace references to class modx.modCategory with MODX\Revolution\modCategory to take advantage of PSR-4 autoloading.
modCategory is deprecated since version 3.0. Replace references to class modCategory with MODX\Revolution\modCategory to take advantage of PSR-4 autoloading.
modCategory is deprecated since version 3.0. Replace references to class modCategory with MODX\Revolution\modCategory to take advantage of PSR-4 autoloading.
modSystemSetting is deprecated since version 3.0. Replace references to class modSystemSetting with MODX\Revolution\modSystemSetting to take advantage of PSR-4 autoloading.
modSystemSetting is deprecated since version 3.0. Replace references to class modSystemSetting with MODX\Revolution\modSystemSetting to take advantage of PSR-4 autoloading.
[Batcher] batcher.user_name setting could not be found, so the setting could not be changed.
[Batcher] batcher.user_email setting could not be found, so the setting could not be changed.
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
Could not find legacy class modTransportPackage after converting to MODX\Revolution\modTransportPackage
Could not load class: modTransportPackage from mysql.modtransportpackage
Could not get table name for class:
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
transport.modTransportPackage is deprecated since version 3.0. Replace references to class transport.modTransportPackage with MODX\Revolution\Transport\modTransportPackage to take advantage of PSR-4 autoloading.
Error 42000 executing statement: Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AS `latestPackage` WHERE `latestPackage`.`package_name` = `modTransp' at line 3 )
modx.modMenu is deprecated since version 3.0. Replace references to class modx.modMenu with MODX\Revolution\modMenu to take advantage of PSR-4 autoloading.
modMenu is deprecated since version 3.0. Replace references to class modMenu with MODX\Revolution\modMenu to take advantage of PSR-4 autoloading.
modMenu is deprecated since version 3.0. Replace references to class modMenu with MODX\Revolution\modMenu to take advantage of PSR-4 autoloading.
Successfully installed package batcher-2.0.0-pl

Basic usage

The add-on is installed, visually works. But when checking the functionality, nothing is applied. The demo video is presented at the link.

Kitchen sink test

Go through the different features it offers (i.e. different ways of using a snippet or settings)

Error log

Video: https://yadi.sk/d/2jDrdPJ6N6ZS5Q

[2021-03-06 20:12:43] (WARN @ /Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/filters/getlist.class.php : 20) PHP notice: Undefined variable: excludeArray
2021-03-06 20:13:03] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changetemplate", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changetemplate.class.php"
[2021-03-06 20:13:10] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changetemplate", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changetemplate.class.php"
[2021-03-06 20:16:26] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changeparent", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changeparent.class.php"
[2021-03-06 20:16:38] (ERROR @ /Users/bochkarev/Sites/bughunt/core/src/Revolution/modX.php : 1778) Unable to load processor for action "mgr/resource/changedates", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/Users/bochkarev/Sites/bughunt/core/components/batcher/processors/mgr/resource/changedates.class.php"

and etc error

Information from developer

NA

Verdict

needs work

@Mark-H
Copy link

Mark-H commented Mar 6, 2021

Looks like those processers need to be rewritten to classes: https://github.com/Sterc/Batcher/tree/develop/core/components/batcher/processors/mgr/resource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants