UndefinedOffset / SortableGridField

Adds drag and drop functionality to Silverstripe's GridField
BSD 3-Clause "New" or "Revised" License
93 stars 62 forks source link

Many Many relationships are broken due to renaming of many_many and many_many_extraFields to manyMany and manyManyExtraFields #110

Closed wtajak closed 6 years ago

wtajak commented 6 years ago

The module description states "Adds drag and drop functionality to SilverStripe 4's GridField"

many_many and many_many_extraFields methods have been removed from DataObject in SilverStripe 4 and the module doesn't seem to be compatible with this version.

Please provide a clarification on the current status of the module.

UndefinedOffset commented 6 years ago

Looks like they were indeed renamed to manyMany and manyManyExtraFields, I'll do up a fix when I'm back in front of a computer. I'm going to rename this issue to reflect that

wtajak commented 6 years ago

Thanks for a quick reply. I initially thought they were just renamed but after updating the module code the format they return didn't seem to match. I ran out of steam at 2am so maybe I missed something.

UndefinedOffset commented 6 years ago

I've got a fix in master right now I'll tag a release later in the week

roshnimichael commented 6 years ago

Hi trying drag and drop functionality in SS4 using manymanyExtrafields but getting internal error. Is this issue resolved.

UndefinedOffset commented 6 years ago

It should be, please open a new issue with any information you can provide including any error messages and samples of code. Also ensure you are using the version of 2.0.x for SilverStripe version 4 and latest 1.0.x for SilverStripe 3. On that note ensure you provide the version affected.