modmore / QuickstartButtons

Component for managing Quickstart buttons on your MODX manager Dashboard.
5 stars 7 forks source link

MODX3: List-View empty - Requested processor not found #54

Open sebastian-marinescu opened 1 year ago

sebastian-marinescu commented 1 year ago

On a dummy-site that I use to test and document the upgrade-process to MODX3, I see an empty list when opening QSB:

image

The list calls the connector with the action mgr/sets/getList, which results in an unsuccessful response:

{"success":false,"message":"Requested processor not found","total":1,"data":[],"object":[]}

MODX Version 3.0.3-pl, QuickstartButtons-Version 1.3.0-pl, PHP 8.0

Mark-H commented 1 year ago

getList probably needs to be getlist

sebastian-marinescu commented 1 year ago

I've just tested it, you`re right 👍 I'll prepare a PR now.

Do you think all actions have to be lowercased?

Mark-H commented 1 year ago

MODX3 just got stricter and I believe needs the casing to match the file name. In most of my extras that's lowercase but others may have getList.class.php and need it uppercased.

Thanks for that PR!

sebastian-marinescu commented 1 year ago

You are very much welcome. Thanks for your awesome Extras 😉