modxcms / Collections

An Extra for MODX Revolution that provides for Resource Collections managed by CollectionContainer Resources
GNU General Public License v2.0
53 stars 37 forks source link

Quick update link not working in MODX 3.0.3 / Collections 4.0.0 (Works with MODX 2.6.5) #365

Open gitrequests opened 1 year ago

gitrequests commented 1 year ago

Quick update button doesn't work in MODX 3 with Collections 4. Works fine with MODX 2.6.5.

In the collection view configuration, add a "quickupdate" button to "General Settings" -> "Context menu items" For example: view,edit,quickupdate,duplicate,publish,unpublish,-,delete,undelete,remove,-,unlink

Screenshot

In the context menu, the link to the controller is visible, but does not work (nothing happens at all) Screenshot

But there is an error in the MODX error log: [2023-05-13 11:00:42] (ERROR @ /var/www/public/core/src/Revolution/modX.php : 1788) Unable to load processor for action "MODX\Revoltion\Processors\Resource\Get", it does not exist as an autoloadable class that extends \MODX\Revolution\Processors\Processor, and also not as a file in "/var/www/public/core/src/Revolution/Processors/MODX\Revoltion\Processors\Resource\Get.class.php"

halftrainedharry commented 1 year ago

I can't reproduce this. It works correctly when I test it.


Do you have any idea, why in your error message the word Revoltion appears instead of Revolution in ... "MODX\Revoltion\Processors\Resource\Get" ...?

gitrequests commented 1 year ago

It feels like I didn't have the file updated when I installed the update for Collections... Here's the commit that fixes my issue: https://github.com/modxcms/Collections/commit/82f70b474a37e141d98331297cc7c035a775324c

But when I updated, this file did not change. Thank you. Can be closed.