Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Execute API not working in view mode #33651

Open
1 task done
sneha122 opened this issue May 22, 2024 · 1 comment
Open
1 task done

[Bug]: Execute API not working in view mode #33651

sneha122 opened this issue May 22, 2024 · 1 comment
Assignees
Labels
Ballpark: S ~2xDev in 1xSprint Bug Something isn't working Medium Issues that frustrate users due to poor UX Needs Triaging Needs attention from maintainers to triage Partial-import-export Label for granular reusability. Production Templates Product Issues related to Templates Widgets & Accelerators Pod Issues related to widgets & Accelerators

Comments

@sneha122
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Description

When an application is created using partial import export and deployed, some of the queries are not working in deployed mode.

For more details check: https://theappsmith.slack.com/archives/CNQ9Q91C0/p1715948138327279

Screen.Recording.2024-05-17.at.5.37.08.PM.mov

The APIs for which we get error are not getting published for some reason

Steps To Reproduce

  1. Use partial import export to create application
  2. Deploy the app
  3. Observe certain APIs failing

Public Sample App

No response

Environment

Production

Severity

Medium (Frustrating UX)

Issue video log

No response

Version

Cloud - v1.25

@sneha122 sneha122 added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage Partial-import-export Label for granular reusability. labels May 22, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added Medium Issues that frustrate users due to poor UX Production labels May 22, 2024
@github-actions github-actions bot added Templates Product Issues related to Templates labels May 22, 2024
@rahulbarwal rahulbarwal added the Ballpark: S ~2xDev in 1xSprint label May 22, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added Widgets Product This label groups issues related to widgets Widgets & Accelerators Pod Issues related to widgets & Accelerators and removed Widgets Product This label groups issues related to widgets labels Aug 5, 2024
@tomjose92
Copy link

Here are the steps to reproduce the issue.

  1. I created a basic App and added few widgets connected to a query called fetch_users
  2. Then I partial exported all the widgets and queries of the Page
  3. In the exported JSON file, I see name and fullyQualifiedName of the query to have the value fetch_users
  4. Next step I imported this to another App and renamed the query from fetch_users to get_all_users

After this change, in edit mode its working fine. But in deployed mode I get an error stating that get_all_users is not defined

When I export the new App and check its JSON, i see that its name is set as get_all_users but the fullyQualifiedName is still set as the old value, ie fetch_users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ballpark: S ~2xDev in 1xSprint Bug Something isn't working Medium Issues that frustrate users due to poor UX Needs Triaging Needs attention from maintainers to triage Partial-import-export Label for granular reusability. Production Templates Product Issues related to Templates Widgets & Accelerators Pod Issues related to widgets & Accelerators
Projects
None yet
Development

No branches or pull requests

6 participants