Comments (3)
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.
from silverstripe-embargo-expiry.
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.
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)
- Add support for Silverstripe 5 HOT 1
- Add a version tags HOT 3
- Add CMS badges for Embargo & Expiry status HOT 5
- Update docs with tips for use with Fluent
- Check if Jobs can be moved to the Immediate queue
- Fallback to SiteTree permissions to prevent privilege escalation
- Publish button has incorrect styles when re-introduced to markup HOT 1
- Incorrect status message when only expiry is set
- Remove PHP 5.6 support
- Update test coverage
- EmbargoExpiryGridFieldItemRequestExtension Actions are readonly if object isn't editable
- Add test coverage for EmbargoExpiryGridFieldItemRequestExtension
- Check if cascade publish also publishes DataObjects with an Embargo set HOT 1
- the method 'setIsUnPublishJobRunning' does not exist on 'MyCustomPageType' HOT 3
- Overriding module's title in mysite.yml doesn't work HOT 2
- Missing publish button on regular DataObject HOT 1
- Switch from Travis to Github builds
- Maintenance: Remove/update usage of abandoned Super Closure dependency
- getEmbargoExpiryFieldNoticeMessage appears to be called twice HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silverstripe-embargo-expiry.