decentraland / decentraland/builder

Can't access standard collection directly from the URL

Open
#2,031 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
156
Forks
91
Avg merge
2d 7h
Merged PRs (30d)
31

Description

## 🎉 Description

The builder crashes when trying to load a standard collection using a URL.

```
TypeError: Cannot read properties of null (reading 'urn')
at Ci (utils.ts:52:41)
at sagas.ts:32:9
at x (runtime.js:63:1)
at Generator._invoke (runtime.js:282:1)
at Generator.e. [as next] (runtime.js:116:1)
at p (redux-saga-core.esm.js:1169:1)
at c (redux-saga-core.esm.js:1263:1)
at L. (redux-saga-core.esm.js:741:1)
at redux-saga-core.esm.js:1216:1
at m (redux-saga-core.esm.js:1283:1)
at p (redux-saga-core.esm.js:1173:1)
```

* [x] 🐛 This is a bug report.
* [ ] 📈 This is a feature request.

## 🔢 Steps To Reproduce Issue

1. Create a standard collection.
2. Add an item to the standard collection.
3. Open the standard collection to grab the URL.
4. Grab the URL and open it in another tab or press enter in the URL bar to trigger a reload on the page.
5. The builder won't load anymore.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.