-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Fix deleted blocks (from composer) still visible #1293
Fix deleted blocks (from composer) still visible #1293
Conversation
I think this is not needed. This is how it should work. You should be able choose when to publish the changes manually by doing for example timed publication. If this patch is for direct publication then go for it. |
@haivala what?! This is how it should work? So, why it's working when you edit the block? |
When you edited the block you were checking it probably with logged in user or you have direct publication set on? Either way anonymous user should always see only data from publications and the edits should not make publications unless you have direct publication setting on. Am I right? |
@haivala as you can see here #1292 I'm using anonymous tab, so in the "black" Chrome window user is not logged. I use direct publication YES - that means that:
If you think that my PR breaks something when direct publication is OFF, let's talk about it:
Am I right? |
You are right! |
I'ts OK to merge @VincentLanglet ? |
I don't use this bundle, so I'd like to get another review. Please take a look @sonata-project/contributors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we have some tests covering this fix?
Yes I can try if there is already some kind of testing for the block admin estension. |
Actually, there is: |
Added tests, please merge (maybe release?) thank youuuu |
Thanks @gremo ! |
Subject
I am targeting this branch, because this is a bugfix.
Closes #1292
Changelog