This module recreates the Block Content for an exported Custom Block on cache rebuild.
It DOES NOT exports the content, the block is created as a placeholder, with no content.
Actually there is no way to recreate a custom block for an exported block, it needs to have a specific uuid and this can't be done via UI.
A custom block is made of two entities, one for the placement and one for the actual content. Only the actual placement can be exported with cmi. The content can not. This module try to resolve this problem by creating a new content to fill gap.
There is an open discussion about this: https://www.drupal.org/node/2756331
Configuration
- No configuration is needed, just enable the module.
Project link
https://www.drupal.org/project/recreate_block_content
Git instructions
git clone --branch 8.x-2.x https://git.drupalcode.org/project/recreate_block_content.git
PAReview checklist
https://pareview.sh/pareview/https-git.drupal.org-project-recreate_block...
Comments
Comment #2
PA robot CreditAttribution: PA robot commentedProject 1: https://www.drupal.org/node/2873432
Project 2: https://www.drupal.org/node/2796023
As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).
If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #4
nimbfire@gmail.com CreditAttribution: nimbfire@gmail.com at Dexa commentedComment #5
semjuel CreditAttribution: semjuel commentedAutomated Review
pareview.sh is showing 1 warning. It’s not a reason to block the application, but you should follow Drupal Coding Standard as closely as possible. See more details at https://pareview.sh/node/2124.
Manual Review
Individual user account
[Yes: Follows] the guidelines for individual user accounts.
No duplication
[No: Causes] module duplication and/or fragmentation.
Master Branch
[Yes: Follows] the guidelines for master branch.
Licensing
[Yes: Follows] the licensing requirements.
3rd party assets/code
[Yes: Follows] the guidelines for 3rd party assets/code.
README.txt/README.md
[No: Does not follow] - please see README Template
Code long/complex enough for review
[No: Does not follow] see the guidelines for project length and complexity. You module has less than five function or class method definitions and the PHP source code is less than 120 lines long.
Secure code
[Yes: Meets the security requirements].
Comment #6
semjuel CreditAttribution: semjuel commentedComment #7
Joao Sausen CreditAttribution: Joao Sausen at Dexa commentedThanks, I fixed the issue.
Comment #8
sleitner CreditAttribution: sleitner commentedThere are some issues, see details: https://pareview.sh/pareview/https-git.drupal.org-project-recreate_block...
Review of the 8.x-2.x branch (commit 95f167d):
This automated report was generated with PAReview.sh, your friendly project application review script.
Comment #9
apadernoIf you are still working on this application, you should fix all known problems and set the status to Needs review. (See also the project application workflow.)
Please don't change status of this application if you aren't sure you have time to dedicate to this application, or it will be closed again as won't fix.
I am closing this application due to lack of activity.
Comment #10
Joao Sausen CreditAttribution: Joao Sausen at Dexa commentedComment #11
Joao Sausen CreditAttribution: Joao Sausen at Dexa commentedI fixed the bugs and updated the issue description.
Comment #12
apadernoComment #13
klausiLooks good to me.
Thanks for your contribution, Joao!
I updated your account so you can opt into security advisory coverage now.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #14
Joao Sausen CreditAttribution: Joao Sausen at Dexa commentedThanks klausi. I read most of that documentation already and I'm on irc too.
Again, thanks.