dnadesign / silverstripe-elemental-virtual

Allows Content Blocks to be reused between pages.
BSD 3-Clause "New" or "Revised" License
7 stars 26 forks source link

Selection does not work in SS5.0 #59

Closed sunnysideup closed 11 months ago

sunnysideup commented 1 year ago

https://www.loom.com/share/3701e0347933424892d9926e96e31e1e?sid=99e5cc3e-6e58-495a-82d6-f1c8d8ef65b6

Error in console (no idea if it is related):

vendor.js?m=1699602477:1 Uncaught (in promise) Invariant Violation: An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#%7B%22version%22%3A%223.8.4%22%2C%22message%22%3A30%2C%22args%22%3A%5B%5D%7D
    at new t (http://new.sunnysideup.co.nz.ss4/_resources/vendor/silverstripe/admin/client/dist/js/vendor.js?m=1699602477:1:2059554)
    at f (http://new.sunnysideup.co.nz.ss4/_resources/vendor/silverstripe/admin/client/dist/js/vendor.js?m=1699602477:1:2024779)
    at e.clearStore (http://new.sunnysideup.co.nz.ss4/_resources/vendor/silverstripe/admin/client/dist/js/vendor.js?m=1699602477:1:1970698)
    at http://new.sunnysideup.co.nz.ss4/_resources/vendor/silverstripe/admin/client/dist/js/vendor.js?m=1699602477:1:1983310

modules:

dnadesign/silverstripe-elemental          5.1.1              Elemental pagetype and collection of Elements
dnadesign/silverstripe-elemental-virtual  2.0.0              Adds ability for Elemental to share content blocks between pages
silverstripe/recipe-cms                   5.x-dev 13ed306    SilverStripe recipe for fully featured page and asset content editing
silverstripe/tagfield                     3.0.0              Tag field for SilverStripe
silverstripe/userforms                    6.1.1              UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code
sunnysideup/assets_overview               dev-master 3d48fb2 Quick overview of all your assets
sunnysideup/cms-niceties                  dev-master a412864 adds a bit of formatting and a few CMS Field tricks to the CMS
sunnysideup/config_manager                dev-master 7a3c368 Silverstripe developers module that helps you get a better grip on the config layer
sunnysideup/elemental-edit-me-button      dev-master 3ba0bf2 Add an edit button to any elemental on the front-end.
sunnysideup/googleanalyticsbasics         dev-master 86ff54e add google analytics to your Silverstripe website
sunnysideup/health-check-provider         dev-master ec2fa81 Provides data to the check.silverstripe-webdevelopment.com site
sunnysideup/metatags                      dev-master 4f5f335 simplify your metatags - a ton of tools to increase SEO visibility, including file name adjustments
sunnysideup/prettyphoto                   dev-master 1b45ef2 adds 'pretty photo' - a jQuery library to your Silverstripe application 
sunnysideup/release                       dev-master 3a2b083 Auto-release latest version of a branch.
sunnysideup/sentry-made-easy              dev-master 6645516 Set up Sentry Error Logging on your Silverstripe website.
sunnysideup/silverstripe-externalurlfield dev-master e61814a Provides SilverStripe with a DBField and FormField for handling external URLs.
sunnysideup/simple-template-caching       dev-master d830785 Basic functions for caching content in your SS templates.
sunnysideup/sswebpack_engine_only         dev-master 1f0b1a9 Webpack engine for Silverstripe without any theme at all. Use this with any theme / module you are building. You can also use it without SilverSt...
sunnysideup/sunnysideup-theme             dev-master f8591c7 SilverStripe theme used in-house by Sunny Side Up
sunnysideup/sunnysideup-theme-backend     dev-master 11337bd Supporting module for the Sunny Side Up Theme.
sunnysideup/templateoverview              dev-master df6a161 adds development tools for building silverstripe websites, in particular around managing page types.
sunnysideup/typography                    dev-master f91b7c1 Add a typography test page to your silverstripe website / application.
sunnysideup/version-pruner                dev-master 8441079 Prune / truncate your version tables based on your own settings.
sunnysideup/webpack_requirements_backend  dev-master 6876a02 Silverstripe Module that provides an alternative to the standard Silvertripe Requirements Backend class so that your application can run webpack.
undefinedoffset/sortablegridfield         2.2.0              Adds drag and drop functionality to SilverStripe 4.x's GridField
sunnysideup commented 11 months ago

Here are the requirements:

        "php": ">=8.2",
        "dnadesign/silverstripe-elemental": "^5",
        "dnadesign/silverstripe-elemental-virtual": "^2.0",
        "silverstripe/recipe-cms": "^5.x-dev",
        "silverstripe/tagfield": "3.0",
        "silverstripe/userforms": "^6",
        "sunnysideup/assets_overview": "dev-master",
        "sunnysideup/cms-niceties": "dev-master",
        "sunnysideup/elemental-edit-me-button": "dev-master",
        "sunnysideup/googleanalyticsbasics": "dev-master",
        "sunnysideup/health-check-provider": "dev-master",
        "sunnysideup/metatags": "dev-master",
        "sunnysideup/release": "dev-master",
        "sunnysideup/sentry-made-easy": "dev-master",
        "sunnysideup/silverstripe-externalurlfield": "dev-master",
        "sunnysideup/simple-template-caching": "dev-master",
        "sunnysideup/sunnysideup-theme": "dev-master",
        "sunnysideup/sunnysideup-theme-backend": "dev-master",
        "sunnysideup/version-pruner": "dev-master",
        "sunnysideup/webpack_requirements_backend": "dev-master",
        "undefinedoffset/sortablegridfield": "^2.2"
wilr commented 11 months ago

Thanks @sunnysideup just noticed that I hadn't tagged a 2 release so you would have been using an older stable tag probably. Try the new 2.1.0 (or update to ^2.1 in your composter and you should be good!