Skip to content

Pasting a URL in the Query URL field does not replace the query #3958

@yoat

Description

@yoat

Describe the bug
When you paste a URL into the Query URL field on the Graph Explorer it will show you what you pasted, but running the query keeps the previously selected/typed value.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Graph Explorer
  2. Click to login and authenticate
  3. Have a valid URL query prepared you want to test
  4. Select a query from the Sample Queries sidebar, like Get "my profile"
  5. Run the sample query, verify the output
  6. Paste your query over top of the sample URL (but do not type any changes)
  7. Run the query

Expected behavior
Your NEW query is executed.

Actual behavior
Previous query is re-executed as if it is still in the query box.

Workaround
Typing any changes into the bar triggers the application to use the typed URL instead of the URL that existed prior to pasting.

Desktop (please complete the following information):

  • OS: Windows
  • Browser Edge
  • Version 140

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triaged-Unassignedissue that is triaged but unassigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions