Coder Social home page Coder Social logo

Comments (3)

chrispenny avatar chrispenny commented on July 29, 2024

Thanks, @shoosah!

You mentioned that you set an Expiry, not an Embargo. Expiry is where a page is unpublished on that date. Can you please clarify if you meant you set an Embargo time, or an Expiry time?

Could you please also confirm that the Expiry and/or Embargo is set on the Page itself? And that this isn't some custom installation where E&E has been added to the individual Blocks or something.

CC: @mfendeksilverstripe

from silverstripe-embargo-expiry.

shoosah avatar shoosah commented on July 29, 2024

Hey @chrispenny. Sorry for the confusion. I updated the description of the issue to be more descriptive. Please note this only happens on a specific page type (RegionPage class which is extending Page class) on our UAT environment (I wasn't able to produce this problem locally). The only thing I can see suspicious on this page type is the following part of the code:

 /**
     * @return \SilverStripe\Forms\Validator
     */
    public function getCMSValidator()
    {
        return RequiredFields::create([
            'MapRegion',
        ]);
    }

The reason is that I changed the page type to Page, published it, then changed the page type back to RegionPage (this time I didn't need to set the MapRegion). Then I logged out and I was able to see the blocks in the Region Page again!

from silverstripe-embargo-expiry.

chrispenny avatar chrispenny commented on July 29, 2024

After our offline chat, we've agreed to close this ticket for now. Currently not able to replicate on local environments, and is sounding project specific.

We'll re-raise if we're able to lock down what the issue is.

from silverstripe-embargo-expiry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.