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 in a feature branch results in a 404 error instead of redirecting to the default branch #37585

Open shadabbuchh opened 2 days ago

shadabbuchh commented 2 days ago

Is there an existing issue for this?

Description

In a feature branch that is identical to the default branch except for a widget on one of the pages, removing the URL parameters results in a 404 error instead of redirecting to the default branch.

Steps To Reproduce

https://app.appsmith.com/app/reg6novapp/sheet1-672ca7b8684f4176b0c2929e?branch=masterDuplicateButWithoutSomeEntities

  1. In the above app, go to branch masterDuplicateButWithoutSomeEntities
  2. In edit mode remove the URL params

Expected: We should get redirected to the default branch (master)

Public Sample App

https://app.appsmith.com/app/reg6novapp/sheet1-672ca7b8684f4176b0c2929e?branch=masterDuplicateButWithoutSomeEntities

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

https://jam.dev/c/4a2a3f3b-fc6f-4019-85fb-b22b00b9bc2a

Version

Cloud