# Layout crashes on certain collections

**URL:** <https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902>\
**Category:** Help me!\
**Created:** [September 2, 2020, 7:37pm UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902 "2020-09-02T19:37:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![XavierColombel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/xaviercolombel/32/106_2.png) [@XavierColombel](https://community.forestadmin.com/u/XavierColombel)\
**Post date:** [September 2, 2020, 7:37pm UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/1 "2020-09-02T19:37:53Z")

</div>

When I click on certain collection, layout crashes. Everything was ok few hours ago.

Here is the error in the console :

 ![Capture d’écran 2020-09-02 à 21.34.46](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/681b2b96b34dbd8f5bca8e8a10b051da4b45f7ed.png)

---

<div class="post-metadata">

**Author:** ![eric-trustandwill](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/eric-trustandwill/32/720_2.png) [@eric-trustandwill](https://community.forestadmin.com/u/eric-trustandwill)\
**Post date:** [September 2, 2020, 7:57pm UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/2 "2020-09-02T19:57:07Z")

</div>

I’m seeing the same issue on my user details screen.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/e35fd95c3ac52593b15cff8a437bfdb733df0404.png)

---

<div class="post-metadata">

**Author:** ![rpechayr](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/rpechayr/32/168_2.png) [@rpechayr](https://community.forestadmin.com/u/rpechayr)\
**Post date:** [September 3, 2020, 8:01am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/3 "2020-09-03T08:01:02Z")

</div>

Hi,  
Same here !

 ![Screenshot 2020-09-03 at 09.46.16](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/d9c500ecd72bba26e76ef194d419ccb5818c098c.png)

Same here ! The strange things is that only some elements of my collection are impacted by this issue.

- The Sumary view is totally collapsed
- There is no way to edit it (maybe we introduced a bug in the layout but we can’t fix it)
- The list view is hiding some colums

Here is a screenshot of the list view. The first 2 rows are displayed correctly, and their respective summary view is working ok. The next lines are missing most columns and their summary view is collapsed

 ![Screenshot 2020-09-03 at 09.53.55](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/0a0de4c49c5f979497e731b11de9cd4f12a044a3.png)

---

<div class="post-metadata">

**Author:** ![hnfg](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/hnfg/32/726_2.png) [@hnfg](https://community.forestadmin.com/u/hnfg)\
**Post date:** [September 3, 2020, 8:10am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/4 "2020-09-03T08:10:06Z")

</div>

We’re also seeing this issue - other content loads fine except the ones with a specific category which is mapped to checkboxes - the category in question is the 6th in the list

---

<div class="post-metadata">

**Author:** ![louis](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/louis/32/4_2.png) [@louis](https://community.forestadmin.com/u/louis)\
**Post date:** [September 3, 2020, 8:21am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/5 "2020-09-03T08:21:19Z")

</div>

@rpechayr @hnfg Thank you for letting us know, sounds like a bug in the layout!

Our team is currently investigating on your issue and we’ll let you know as soon as we have a fix. Sorry for the inconvenience!

---

<div class="post-metadata">

**Author:** ![rap2h](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/rap2h/32/25_2.png) [@rap2h](https://community.forestadmin.com/u/rap2h)\
**Post date:** [September 3, 2020, 8:27am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/6 "2020-09-03T08:27:38Z")

</div>

Hi @eric-trustandwill and @XavierColombel 👋

We apologize for this crash. It’s a recent regression that has just been fixed, release is on its way! Be sure I will notify you when it’s deployed.

Hi @hnfg and @rpechayr Thank you for your feedback. We are still investigating. We’ll notify you as soon as we have a fix.

Thank you for your patience 🙏

---

<div class="post-metadata">

**Author:** ![rap2h](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/rap2h/32/25_2.png) [@rap2h](https://community.forestadmin.com/u/rap2h)\
**Post date:** [September 3, 2020, 8:41am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/7 "2020-09-03T08:41:14Z")

</div>

@hnfg and @rpechayr Could you please share your console logs? There may be an error displayed in it.

---

<div class="post-metadata">

**Author:** ![rpechayr](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/rpechayr/32/168_2.png) [@rpechayr](https://community.forestadmin.com/u/rpechayr)\
**Post date:** [September 3, 2020, 8:42am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/8 "2020-09-03T08:42:46Z")

</div>

Sure, here it is @rap2h

 ![Screenshot 2020-09-03 at 10.40.13](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/967063d14e5aba75870d1d33908c26da604c8bca.png)

---

<div class="post-metadata">

**Author:** ![hnfg](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/hnfg/32/726_2.png) [@hnfg](https://community.forestadmin.com/u/hnfg)\
**Post date:** [September 3, 2020, 9:02am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/9 "2020-09-03T09:02:48Z")

</div>

![Screenshot 2020-09-03 at 10.02.24 am](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/fa9cbf8718b84014bac2acdb443735d05b429b92.png)

---

<div class="post-metadata">

**Author:** ![anon36130554](https://avatars.discourse-cdn.com/v4/letter/a/b3f665/32.png) [@anon36130554](https://community.forestadmin.com/u/anon36130554)\
**Post date:** [September 3, 2020, 9:04am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/10 "2020-09-03T09:04:26Z")

</div>

Hello @XavierColombel @eric-trustandwill 👋

We have identified your issue and a fix is ongoing. I will ping you as soon as it is released (a mater of minutes)

@rpechayr @hnfg Same as the previous one, we identified your issue and a fix is ongoing.

Thanks for opening the thread, and sorry for the inconvenience.

Steve.

---

<div class="post-metadata">

**Author:** ![rap2h](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/rap2h/32/25_2.png) [@rap2h](https://community.forestadmin.com/u/rap2h)\
**Post date:** [September 3, 2020, 9:25am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/11 "2020-09-03T09:25:28Z")

</div>

@XavierColombel @hnfg @eric-trustandwill The fix has just been released. Could you refresh your browser then try again? Let me know if it fixes your problem.

@rpechayr the second fix is on its way! You’ll have to wait a bit more, I’ll notify you as soon as it’s released 👀

Thank you for your patience. 🙏

---

<div class="post-metadata">

**Author:** ![XavierColombel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/xaviercolombel/32/106_2.png) [@XavierColombel](https://community.forestadmin.com/u/XavierColombel)\
**Post date:** [September 3, 2020, 9:31am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/12 "2020-09-03T09:31:25Z")

</div>

@rap2h The phoenix is back in da game! 🤩

---

<div class="post-metadata">

**Author:** ![hnfg](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/hnfg/32/726_2.png) [@hnfg](https://community.forestadmin.com/u/hnfg)\
**Post date:** [September 3, 2020, 11:52am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/13 "2020-09-03T11:52:31Z")

</div>

Hi rap2h - its fixed in that it now loads but do we not get colours for 6th and up on checkboxes now?

![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/e7a732a0270575dafd5f2a3266065a215cf0326a.png)

---

<div class="post-metadata">

**Author:** ![rap2h](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/rap2h/32/25_2.png) [@rap2h](https://community.forestadmin.com/u/rap2h)\
**Post date:** [September 3, 2020, 12:54pm UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/14 "2020-09-03T12:54:53Z")

</div>

@rpechayr The second fix has been released, could you try again after refreshing your browser? Let me know if it fixes the issue. 🙏

@hnfg Oops 😕 . We may have missed something then 😅. Still, I’m not sure to understand your actual issue, I can not reproduce it. What do you mean by “we not get colours for 6th and up”? You mean the badge colors for options 1 to 5 are OK, then 6 to N fails?

This is what I tried. First I configured custom values for badge widget:

 ![Capture d’écran 2020-09-03 à 14.53.16](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/6ff6a3cd04c5fc4d9f4de7791a0e7acfa2316265.png)

Then I checked in table view and everything seems OK:

 ![Capture d’écran 2020-09-03 à 14.52.31](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/6973b85c4a2a721c0f0980d848f56f085965237c.png)

Could you help me reproducing your issue? (maybe a step by step guide would help, or a screencast).

---

<div class="post-metadata">

**Author:** ![rpechayr](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/rpechayr/32/168_2.png) [@rpechayr](https://community.forestadmin.com/u/rpechayr)\
**Post date:** [September 3, 2020, 1:11pm UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/15 "2020-09-03T13:11:27Z")

</div>

Hi ! The issue is fixed on our side. Many thanks @louis and @rap2h 👏 !

---

<div class="post-metadata">

**Author:** ![hnfg](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/hnfg/32/726_2.png) [@hnfg](https://community.forestadmin.com/u/hnfg)\
**Post date:** [September 4, 2020, 8:00am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/16 "2020-09-04T08:00:23Z")

</div>

Hi @rap2h

Our categories are radiobuttons I figured the colours were automatically generated on the table view

The last one on the list is the one that is not appearing with colours.

![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/a9a40d99fb55005f06ed77e583a05536e76c0b29.png)

---

<div class="post-metadata">

**Author:** ![Arnaud\_Moncel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud_moncel/32/24_2.png) [@Arnaud\_Moncel](https://community.forestadmin.com/u/Arnaud_Moncel)\
**Post date:** [September 4, 2020, 8:12am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/17 "2020-09-04T08:12:00Z")

</div>

Hi @hnfg 👋 I’m afraid I c’ant reproduce with this configuration  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/b5724221587dce8b3d11e716e2ab6a1c170ef4ba.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/5888d31e68f71161dc2f6c30e0aeb5fe1b0b8199.png)  
Have you got any error on your browser console ?

---

<div class="post-metadata">

**Author:** ![hnfg](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/hnfg/32/726_2.png) [@hnfg](https://community.forestadmin.com/u/hnfg)\
**Post date:** [September 4, 2020, 11:01am UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/18 "2020-09-04T11:01:51Z")

</div>

huh - no error at all in the console - I wonder whats up!

---

<div class="post-metadata">

**Author:** ![Arnaud\_Moncel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud_moncel/32/24_2.png) [@Arnaud\_Moncel](https://community.forestadmin.com/u/Arnaud_Moncel)\
**Post date:** [September 4, 2020, 12:47pm UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/19 "2020-09-04T12:47:53Z")

</div>

To try to understand what happens can you provide me

- the name of your project
- the environment and team
- the collection and filedName

With this information I could look if there is a configuration problem on our end.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Moncel](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/arnaud_moncel/32/24_2.png) [@Arnaud\_Moncel](https://community.forestadmin.com/u/Arnaud_Moncel)\
**Post date:** [September 4, 2020, 2:49pm UTC](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902/20 "2020-09-04T14:49:27Z")

</div>

@hnfg I saw in your Category field widgetDisplay configuration that you were in custom mode

```javascript
{
  "name": "badge",
  "parameters": {
    "items": [{
      "color": "#98d9ca",
      "values": [
        "active"
      ]
    }, {
      "color": "#f7adb6",
      "values": [
        "support"
      ]
    }, {
      "color": "#bbeafa",
      "values": [
        "learning"
      ]
    }, {
      "color": "#a9bae1",
      "values": [
        "social"
      ]
    }, {
      "color": "#fac9a3",
      "values": [
        "cultural"
      ]
    }],
    "colorMode": "custom"
  }
}

```

And the value `coronavirus` does not appears.  
You could add a configuration for coronavirus or add a default fallback color like this  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/4784899db6756a58b95e0e31f729207579413c91.png)

[Next page](https://community.forestadmin.com/t/layout-crashes-on-certain-collections/902.md?page=2)
