I created a view for invite and exposed the delete operation.
When trying to delete an invite, I get WSOD will following note
"The website encountered an unexpected error. Please try again later."

In the database log I see the following error
Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "invite" entity type did not specify a "delete" form class. in Drupal\Core\Entity\EntityTypeManager->getFormObject() (line 184 of /var/www/html/core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Comments

toamit created an issue. See original summary.

nkoporec’s picture

Status: Active » Needs review
StatusFileSize
new1.16 KB

Hi, facing the same issue after debugging I found out that the problem is in Invite entity.In annotation, it has a delete link which routes to form that doesn't exist.I was trying to create a form to delete the invite entity but kept getting errors(I was extending the EntityConfirmFormBase).... so here is a quick fix patch which removes the delete link.If you still want to delete the invite, then your only solution is to create a custom form and add custom views field.

renatog’s picture

Status: Needs review » Reviewed & tested by the community

Really We need create new solution for delete function.

I applied the patch and really works good.

Thank you for the patch.

  • RenatoG committed db38451 on 8.x-1.x authored by nkoporec
    Issues #2962581 #2965915 by nkoporec, toamit, RenatoG: Delete invite...
renatog’s picture

Status: Reviewed & tested by the community » Fixed

Committed to the dev branch. Thank you very much for the contribution. Best,

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.