microsoft / pxt

Microsoft MakeCode (PXT - Programming eXperience Toolkit)
https://makecode.com
MIT License
2.09k stars 582 forks source link

Importing a URL that was created on a different target #5024

Open samelhusseini opened 5 years ago

samelhusseini commented 5 years ago

Importing a URL that's created on a different target yields a silent crash while attempting to load the project.

We should let the user know that this is the wrong target for the project they're trying to import.

Repro steps:

See the editor attempt to load it, and then silently fail with a crash in the console.

ChaseMor commented 5 years ago

Is the crashing because a URL from another editor is being used or because importing projects via a URL is currently broken as described in Microsoft/pxt-arcade#342?

samelhusseini commented 5 years ago

Importing from a URL that was created by a different target through normal importing of urls not through extensions..