Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity Deletion Errors #2703

Closed
tn3rb opened this issue Apr 17, 2020 · 4 comments
Closed

Entity Deletion Errors #2703

tn3rb opened this issue Apr 17, 2020 · 4 comments

Comments

@tn3rb
Copy link
Member

tn3rb commented Apr 17, 2020

The Delete action in either of the Entity Action Menus (ie: delete date or delete ticket) result in the following console error, and the mutation also fails.

react-dom.development.js:88
Warning: Can't perform a React state update on an unmounted component.
This is a no-op, but it indicates a memory leak in your application.
To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
    in EditableName
    in EditableName (at Details.tsx:12)
    in Details
    in Details (at TicketCard.tsx:34)
    in div (at EntityCard/index.tsx:16)
    in div (at EntityCard/index.tsx:15)
    in div (at EntityCard/index.tsx:13)
    in div (at EntityPaperFrame/index.tsx:27)
    in div (at EntityPaperFrame/index.tsx:26)
    in div (at EntityPaperFrame/index.tsx:24)
    in EntityPaperFrame
    in EntityPaperFrame (at EntityCard/index.tsx:12)
    in EntityCard
    in EntityCard (at TicketCard.tsx:21)
    in TicketProvider (at TicketCard.tsx:20)
    in TicketCard
    in TicketCard (at EntityCardList.tsx:11)
@nicolad
Copy link
Contributor

nicolad commented Apr 17, 2020

checked out the latest EDTR/master and did not reproduced the error


Peek 2020-04-17 11-44

@tn3rb tn3rb added this to Sprint 10 [Mar 24 - Apr 13(-20?)] TO DO LIST in EDTR Conversion to Apollo GraphQL. branch: EDTR/master via automation Apr 17, 2020
@manzoorwanijk manzoorwanijk moved this from Sprint 10 [Mar 24 - Apr 13(-20?)] TO DO LIST to Mar 24 - Apr 13 => In Progress in EDTR Conversion to Apollo GraphQL. branch: EDTR/master Apr 24, 2020
@manzoorwanijk manzoorwanijk moved this from Mar 24 - Apr 13 => In Progress to Sprint 10 [Mar 24 - Apr 13(-20?)] TO DO LIST in EDTR Conversion to Apollo GraphQL. branch: EDTR/master Apr 28, 2020
@manzoorwanijk manzoorwanijk moved this from Sprint 10 [Mar 24 - Apr 13(-20?)] TO DO LIST to Mar 24 - Apr 13 => In Progress in EDTR Conversion to Apollo GraphQL. branch: EDTR/master Apr 28, 2020
@manzoorwanijk manzoorwanijk moved this from Mar 24 - Apr 13 => In Progress to Sprint 10 [Mar 24 - Apr 13(-20?)] TO DO LIST in EDTR Conversion to Apollo GraphQL. branch: EDTR/master Apr 29, 2020
@tn3rb
Copy link
Member Author

tn3rb commented Jun 11, 2020

steps to reproduce

  • create new ticket

  • then try to trash it

  • Apollo reports an error, and the ticket does not appear to be trashed

  • refresh the page, and ticket is now trashed

@manzoorwanijk
Copy link
Contributor

steps to reproduce

* create new ticket

* then try to trash it

* Apollo reports an error, and the ticket does not appear to be trashed

* refresh the page, and ticket is now trashed

@tn3rb I don't see any error

demo

@tn3rb
Copy link
Member Author

tn3rb commented Jun 16, 2020

i can't reproduce this issue on the NK site so must have been something wonky with my local db...

going to close this but will keep an eye out for this

@tn3rb tn3rb closed this as completed Jun 16, 2020
EDTR Conversion to Apollo GraphQL. branch: EDTR/master automation moved this from Sprint 10 [Mar 24 - June 1] TO DO LIST to Mar 24 - June 1 => Completed Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants