Skip to content

Demonstrating that Event::listen callbacks break asset events

Notifications You must be signed in to change notification settings

stuartcusackie/stateventtest

Repository files navigation

A Test Statamic Project

To demonstrate that event listener callbacks can break asset moving / renaming, i.e. AssetReferenceUpdaters

Credentials

testing@stuartcusack.ie 12345678

Customisation Notes

  1. Installed Statamic
  2. Added image field to Pages blueprint
  3. Added code to EventServiceProvider

Steps to Test

  1. Add image to page entry
  2. Go to assets manager
  3. Move image to folder

Results

  • "Undefined array key listener"
  • File is in fact moved
  • But asset reference updates do not complete.

About

Demonstrating that Event::listen callbacks break asset events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages