appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
34.67k stars 3.75k forks source link

[Bug]: "Removing URL parameters from feature branch page causes 404 error" #37580

Open shadabbuchh opened 2 days ago

shadabbuchh commented 2 days ago

Is there an existing issue for this?

Description

When pasting a page URL from the app settings of a feature branch and adding URL parameters, the content of the feature branch is correctly displayed. However, the corresponding page is not selected by default. Consequently, if the URL parameters are removed, a 404 error is triggered.

Steps To Reproduce

  1. Copy the URL of a page from a feature branch page settings and paste it into a new browser tab.
  2. Append URL parameters, e.g., ?branch=<featureBranch>.
  3. Remove the URL parameters.

Expected Behaviour: Adding the URL parameters should redirect to the correct page, and the page should be selected by default.

Public Sample App

No response

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

https://jam.dev/c/e2373809-efb2-4702-b189-fcc760b3ab2c

Version

Cloud