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 - handle http 404's in control property editor #1816

Open
1 of 3 tasks
longieirl opened this issue Apr 10, 2024 · 0 comments
Open
1 of 3 tasks

BUG - handle http 404's in control property editor #1816

longieirl opened this issue Apr 10, 2024 · 0 comments
Labels
bug Something isn't working control-property-editor @sap-ux/control-property-editor

Comments

@longieirl
Copy link
Contributor

Description

Closing VSCode causes errors if changes are done in CPE.

Steps to Reproduce

  1. Create ADP in VSCode
  2. Open CPE
  3. Close VSCode which probably also closes the server on which CPE is running
  4. Do a change in CPE and save it

Expected results

In this instance, the server is no longer running and CPE should handle known exceptions i.e http 404 and give the user a better error message.

Actual results

Error is shown to the user showing exception around fetching service.

Screenshots

Screenshot 2024-04-10 at 11 24 56

Version/Components/Environment

Add any other context about the problem here
OS:

  • Mac OS
  • Windows
  • Other

Root Cause Analysis

Problem

{describe the problem}

Fix

{describe the fix}

Why was it missed

{Some explanation why this issue might have been missed during normal development/testing cycle}

How can we avoid this

{if we don’t want to see this type of issues anymore what we should do to prevent}

@longieirl longieirl added bug Something isn't working control-property-editor @sap-ux/control-property-editor labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working control-property-editor @sap-ux/control-property-editor
Projects
None yet
Development

No branches or pull requests

1 participant