Skip to content

[Bug]: JSObject method name update refactor doesn't work for this reference of the method #35429

Open
@rishabhrathod01

Description

Is there an existing issue for this?

  • I have searched the existing issues

Description

When a user updates the JSObject method name, all the reference of the method in the same JSobject is expected to change to a new name but that doesn't happen and we start noticing reference errors in other parts of the code.

Steps To Reproduce

  1. Create a JSObject and create 2 methods name getName and getFullName
  2. Use this.getName() inside getFullName method
  3. Update getName to getFirstName
  4. Notice the reference error in getFullName method

Public Sample App

No response

Environment

Production

Severity

Medium (Frustrating UX)

Issue video log

No response

Version

1.33

Metadata

Assignees

Labels

BugSomething isn't workingIntegrations Pod GeneralIssues related to the Integrations Pod that don't fit into other tags.Integrations ProductIssues related to a specific integrationJS ObjectsIssues related to JS ObjectsMediumIssues that frustrate users due to poor UXNeeds TriagingNeeds attention from maintainers to triageProductionQuery & JS PodIssues related to the query & JS Pod

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions