Skip to content

fix: rename PostTrackingTrait.php to match class name PostTracking#518

Open
saraichinwag wants to merge 1 commit intoExtra-Chill:mainfrom
Sarai-Chinwag:fix/post-tracking-filename
Open

fix: rename PostTrackingTrait.php to match class name PostTracking#518
saraichinwag wants to merge 1 commit intoExtra-Chill:mainfrom
Sarai-Chinwag:fix/post-tracking-filename

Conversation

@saraichinwag
Copy link
Contributor

Summary

  • Renames PostTrackingTrait.phpPostTracking.php to match the class name inside
  • Commit 13e7d85 refactored the trait into a static PostTracking class but kept the old filename
  • PSR-4 autoloader can't find PostTracking → fatal error in all publish/update handlers that rely on automatic post tracking

Discovered while debugging quiz generation failures — the base PublishHandler::handle_tool_call() calls PostTracking::store() after every successful publish, and the class was unfindable.

Fixes part of #511 investigation.

Commit 13e7d85 refactored PostTrackingTrait into a static PostTracking
class but kept the old filename. PSR-4 autoloader looks for
PostTracking.php — class not found at runtime, breaking all publish
handlers that rely on automatic post tracking.
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

Successfully merging this pull request may close these issues.

1 participant