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

Matrix Block afterDelete jsFlash/assetBundleFlash on frontend. #4390

Closed
JamesNuttall opened this issue Jun 11, 2019 · 1 comment
Closed

Matrix Block afterDelete jsFlash/assetBundleFlash on frontend. #4390

JamesNuttall opened this issue Jun 11, 2019 · 1 comment

Comments

@JamesNuttall
Copy link
Contributor

Description

When deleting an entry (that includes a matrix block field) from the entries index via the dropdown, if you don't reload the CP and instead go straight to the frontend, cpresources are injected.

I had a similar issue a while back and believe it could be related some how? It seems to have something to do with the same block in the MatrixBlock afterDelete method.

Steps to reproduce

  1. Create a section that includes a Matrix Block Field
  2. Create an Entry within that section with at least one matrix block populated
  3. Navigate to the entries index and delete the entry via the dropdown at the top of the page
  4. Without reloading the CP, load any page on the frontend
  5. Opening the network tab in your browser you will see cpresources have been injected.

Additional info

  • Craft version: 3.1.19 Pro
  • PHP version: 7.2.14
  • Database driver & version: MYSQL 5.7.25
@brandonkelly
Copy link
Member

Thanks, just fixed this for today’s release.

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

2 participants