Skip to content

[Bug]: Custom Widget Source Code editor wont open #41524

@MTrinkiesJr

Description

@MTrinkiesJr

Is there an existing issue for this?

  • I have searched the existing issues

Description

The source code editor gives 404 resource not found if page is not on master branch.

I created a custom widget and was able to edit the source. When I then wanted to create another custom widget on a different page it lead to an error.

I figured out adding ?branch=staging (my current working branch) on the end of the editor tab it opened up correctly.

I also then merged the page to master and it worked without adding the branch parameter.

Steps To Reproduce

  1. Create App
  2. Create a page with custom widget
  3. Custom Widget Editor works
  4. Connect to git and push to master
  5. Custom Widget Editor works
  6. Create new page and commit to other branch (staging)
  7. Add custom widget to new page and try to open widget editor
  8. Widget editor gives 404
  9. Add ?branch=(staging)
  10. Widget Editor works
  11. Merge changes to master
  12. Widget Editor works without adding ?branch=(staging)

Public Sample App

No response

Environment

Production

Severity

Medium (Frustrating UX)

Issue video log

No response

Version

Self Hosted - v1.95

Metadata

Metadata

Labels

BugSomething isn't workingCommunity Reportedissues reported by community membersMediumIssues that frustrate users due to poor UXNeeds TriagingNeeds attention from maintainers to triageProduction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions