- Issue created by @josephgut
Hi,
I'm trying to upgrade Drupal 9->10 and this issue is holding me up. I can't seem to be able to delete the Transaction entities that were used way back in Drupal 7 on my site, but are no longer used. Any help would be greatly appreciated. Thanks ahead of time!
Getting the following error when trying to remove Transaction entities:
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /batch?id=175&op=do_nojs&op=do
StatusText: parsererror
ResponseText: Error: Call to a member function getTargetEntityTypeId() on null in Drupal\transaction\Entity\Transaction->urlRouteParameters() (line 585 of /var/www/html/web/modules/contrib/transaction/src/Entity/Transaction.php).
When trying to delete via drush (ddev drush entity:delete transaction) I get:
[error] Error: Call to a member function getTargetEntityTypeId() on null in Drupal\transaction\Entity\Transaction->urlRouteParameters() (line 585 of /var/www/html/web/modules/contrib/transaction/src/Entity/Transaction.php) #0 /var/www/html/web/core/lib/Drupal/Core/Entity/EntityBase.php(174): Drupal\transaction\Entity\Transaction->urlRouteParameters('add-form')
1. Install Transaction 8.x-1-x.dev
2. Use Transactions and create entities
3. Go to s/uninstall/entity/transaction and click on "Delete all transactions"
error above occurs
Needs work
1.0
Code