Skip to content

Transaction - Displaying a wrong transaction do not warn us #55

@Alex-Werner

Description

@Alex-Werner

If we decide to look up for a random non-existant transaction (/insight/tx/0000000001219cb882504216cb0b89de6567483e7a6a3bce45026b26fca9ff17 for instance), we do not have anything warning us about it.

We are only left with this :
image

There is a flashMessage that is being triggered in the Transaction.get method that seems to not be displayed.
Which seems to be linked to the logic being broken, it appears that many method such as Transaction.get(), expect failureCallback to be called on exception such as a status page being 404.
What really happens is that it goes into the successCallback that do not expect thoses and fails.

Some investigation is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions