Closed bilboss02 closed 1 week ago
Ideally here if a package has been used in a donation it should fail validation to delete and instead make package active column to false. Or better yet we add soft deletes to packages and cover withTrashed packages on donations index.
UNIT3D Version
8.3.2
PHP & Platform
PHP 8.3.12 Database 8.0.39-0ubuntu0.20.04.1
Laravel verion
11.28.1
Have you done this?
Expectation
display the page correctly /dashboard/donations
The problem is that packages you donated no longer exist. Basically, you can edit the package, but if you delete a package that someone donated before, you will get an error.
once you removed from the the database donations to packages that don't exist anymore the problem was solved
Description
STAFF DONATION PAGE DOES NOT LOAD /dashboard/donations
Stack trace & logs
Upvote & Fund