Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing publish button on regular DataObject #83

Closed
thats4shaw opened this issue Aug 18, 2021 · 1 comment
Closed

Missing publish button on regular DataObject #83

thats4shaw opened this issue Aug 18, 2021 · 1 comment

Comments

@thats4shaw
Copy link

To replicate:

My\Namespace\DataObject:    
  extensions:
    - SilverStripe\Versioned\Versioned
    - Terraformers\EmbargoExpiry\Extension\EmbargoExpiryExtension

I have seen the following error thrown in console but can't reliably recreate it but assume it's related:

embargo-expiry.js?m=1625172243:1 Uncaught TypeError: Cannot read properties of undefined (reading 'entwine')
    at Object../client/src/bundles/embargo-expiry.js (embargo-expiry.js?m=1625172243:1)
    at t (embargo-expiry.js?m=1625172243:1)
    at embargo-expiry.js?m=1625172243:1
    at embargo-expiry.js?m=1625172243:1
@thats4shaw
Copy link
Author

So this is just a bit of gotcha with the isEditable function.

Returns null, instead of true in my context so I can just override in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant