Skip to content

No user feedback when pulling a deleted remote sketch #1840

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

Open
3 tasks done
kittaakos opened this issue Jan 30, 2023 · 0 comments
Open
3 tasks done

No user feedback when pulling a deleted remote sketch #1840

kittaakos opened this issue Jan 30, 2023 · 0 comments
Labels
topic: cloud Related to Arduino Cloud and cloud sketches topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

Describe the problem

From here:

No user feedback when pulling a deleted sketch.

To reproduce

  1. pull deleted sketch:

    • Create cloud sketch,
    • Open IDE2. The new sketch is visible,
    • Delete the cloud sketch from the browser,
    • Pull cloud sketch in IDE2.
Uncaught (in promise) Error: Not found: /yyy444.
    at CreateApi.stat (create-api.ts:236)
    at async CreateFsProvider.stat (create-fs-provider.ts:92)
    at async FileService.doResolveFile (file-service.ts:499)
    at async FileService.resolve (file-service.ts:477)
    at async CloudSketchbookTree.resolveFileStat (cloud-sketchbook-tree.ts:427)
    at async CloudSketchbookTree.resolveChildren (file-tree.ts:38)
    at async FileNavigatorFilter.filter (navigator-filter.ts:51)
    at async CloudSketchbookTree.resolveChildren (sketchbook-tree.ts:25)
    at async CloudSketchbookTree.resolveChildren (cloud-sketchbook-tree.ts:382)
    at async CloudSketchbookTree.refresh (tree.ts:306)

Expected behavior

IDE2 refreshes the sketchbook tree and warns the user that the sketch has been deleted

Arduino IDE version

2.0.3

Operating system

macOS

Operating system version

12.5.1

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@kittaakos kittaakos added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Jan 30, 2023
@kittaakos kittaakos added the topic: cloud Related to Arduino Cloud and cloud sketches label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: cloud Related to Arduino Cloud and cloud sketches topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant