silverstripe / silverstripe-ckan-registry

BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

InvalidArgumentException on save CKAN Registry Page with wrong "Successful" message on client side. #280

Closed sabina-talipova closed 1 year ago

sabina-talipova commented 1 year ago

Description

When user saves CKAN Registry Page he gets "Saved 'New CKAN Registry Page' successfully." message, but highlighted as error (has ".toast--error" class). It happens since Back end returns Exception on "Save" request with the following message :

[Emergency] Uncaught InvalidArgumentException: Invalid sort column "CKANResourceField"."Position"

SS_ckan.png

After that page is broken and user cannot open it again.

Steps to reproduce issue

AC's

Stretch goal

PR's

GuySartorelli commented 1 year ago

This will probably be fixed as a part of https://github.com/silverstripeltd/product-issues/issues/644 - but I'll leave it open until I'm sure.

sabina-talipova commented 1 year ago

I've done a few tests and it looks like was already fixed. No any other issues happened. I close this task as no longer existing.