CesiumGS / CesiumGS/cesium

Bad error handling causing issues in Angular

Open
#12,031 0 comments 0 reactions 0 assignees View on GitHub
category - 3d tiles type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

### What happened?

[Original reported on the forum](https://community.cesium.com/t/upgrading-to-cesium-1-92-handletilefailure-error-undefined-tile-is-unloaded-before-the-content-finishes-loading/18138), there is some bad error handling going on in `processArrayBuffer`. Since Angular's zone.js wraps native promises, this is leading to a fatal crash.

### Reproduction steps

See thread.

### Sandcastle example

_No response_

### Environment

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating processArrayBuffer and read the linked forum thread for the reported Angular and zone.js failure. Reproduce the fatal crash described there and verify that the error handling no longer causes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.