Skip to content

[Ember] You must pass a url that begins with the application's rootURL with none location #18701

@westbee

Description

@westbee

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/ember

SDK Version

10.32.1

Framework Version

ember-source 5.12

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. Configure Ember app with locationType: "hash" for production/development
  2. Set locationType: "none" in test environment (common for Ember tests)
  3. Initialize Sentry with @sentry/ember v10.32.1
  4. Run acceptance tests
  5. Error occurs: You must pass a url that begins with the application's rootURL "/"

Expected Result

The fix in v10.32.1 should handle all location types, including "none" which is commonly used in test environments. There should be no console error when running acceptance tests.

Actual Result

Error: Assertion Failed: You must pass a url that begins with the application's rootURL "/"

Additional Context

The fix in v10.32.1 (addressing issue #18543) correctly handles hash location types, but does not account for other location types like "none" which is the standard location type for Ember test environments.

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions