Skip to content

Route switching is too fast which cause multiple transactions's data no correct #12502

Closed as not planned

Description

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/vue

SDK Version

7.51.0

Framework Version

vue2

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

in vue project, fast click menu to change url , multi transations exist at the some time , which cause transations data no correct , in perfomance.getEntry() action and transation's request.url 。
why not finish transation in router.beforeEach ?

Expected Result

transation only contain datas of the router other than previous routers's data .

Actual Result

if multi transations exit at th some time, transation contain datas of the previous routers's data in perfomance.getEntry() , all value of request.url are setted to the current router

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    • Status

      Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions