# Layout refresh problem again

**URL:** https://community.forestadmin.com/t/layout-refresh-problem-again/1566
**Category:** Help me!
**Created:** [January 4, 2021, 11:26am UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566 "2021-01-04T11:26:23Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 4, 2021, 11:26am UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/1 "2021-01-04T11:26:23Z")

</div>

Hi team,

I don’t know if my problem is the same than for issue [Layout refresh problem](https://community.forestadmin.com/t/layout-refresh-problem/1502/7)

I have a new layout refresh problem.  
For my `Discounts` collection, I modified the model  
from

```javascript
   fees_scope: {
      type: DataTypes.ENUM('FX_FEES', 'UPFRONT_FEES'),
      allowNull: true,
    },
    discount_type: {
      type: DataTypes.ENUM('P2W', 'P2P', 'P2B', 'BankFees'),
      allowNull: true,
    },

```

to

```javascript
   fees_scope: {
      type: DataTypes.ENUM('FX_FEES', 'UPFRONT_FEES', 'FX+UP_FEES', 'NONE'),
      allowNull: true,
    },
    discount_type: {
      type: DataTypes.ENUM('P2W', 'P2P', 'P2B', 'BankFees', 'PARTNER_OFFER'),
      allowNull: true,
    },

```

As, you can see, only some Enum values have been added in two fields.

When restarting my server, the new enum values are well generated in .forestadmin-schema.json file:

```javascript
--- a/.forestadmin-schema.json
+++ b/.forestadmin-schema.json
@@ -7631,7 +7631,8 @@
         "P2W",
         "P2P",
         "P2B",
- "BankFees"
+ "BankFees",
+ "PARTNER_OFFER"
       ],
       "integration": null,
       "isFilterable": true,
@@ -7678,7 +7679,12 @@
       "field": "fees_scope",
       "type": "Enum",
       "defaultValue": null,
- "enums": ["FX_FEES", "UPFRONT_FEES"],
+ "enums": [
+ "FX_FEES",
+ "UPFRONT_FEES",
+ "FX+UP_FEES",
+ "NONE"
+ ],
       "integration": null,
       "isFilterable": true,
       "isPrimaryKey": false,

```

But the new values are not available in the Forest interface:

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

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

And, globally, I have more and more refresh problems with the columns showed and hidden (previous issue).  
It is becoming more and more instable, and difficult to use.

Thanks in advance for your help.  
Best

My setup

```javascript
    "database_type": "postgres",
    "liana": "forest-express-sequelize",
    "liana_version": "6.6.3",
    "engine": "nodejs",
    "engine_version": "12.13.1",
    "orm_version": "5.22.3"

```

---

<div class="post-metadata">

### Author: ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)
#### Post date: [January 4, 2021, 1:46pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/2 "2021-01-04T13:46:13Z")

</div>

Hi @Louis-Marie,

We are currently investigating both of your issues right now.  
I’ll update this thread if we find any reason for the behavior you are experiencing.

Sorry for the inconvenience.

---

<div class="post-metadata">

### Author: ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)
#### Post date: [January 4, 2021, 4:53pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/3 "2021-01-04T16:53:26Z")

</div>

Hi,

Sorry for the delayed response. Could you provide me the environment on which you did this modification ? I’m not able to see this changes in our saved schema, so maybe this issue is not related to your previous one.

Thanks in advance

---

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 4, 2021, 4:54pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/4 "2021-01-04T16:54:42Z")

</div>

Hi @anon39848301

This is in Development environment.

Thanks.

---

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 4, 2021, 4:58pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/5 "2021-01-04T16:58:18Z")

</div>

The change should have been uploaded into your schema around 12h00 Paris time today.

If it can help, I can revert it back by removing the change, restart my server, put again the new enum, and restart again my server to let you follow the operations.

Please let me know how I can help.

Thanks

---

<div class="post-metadata">

### Author: ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)
#### Post date: [January 4, 2021, 5:11pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/6 "2021-01-04T17:11:00Z")

</div>

> The change should have been uploaded into your schema around 12h00 Paris time today.

Ok, I located this changes (So it was definitely sent, no issue here).

Does this change now appear on your UI, or is it still missing?

I mainly want to know this to check if that was a delayed job (Which happened around that time today) or if it was a refresh layout that did not went through.

Again, sorry for the question/answer debug session here.

Thanks 🙏

---

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 4, 2021, 5:13pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/7 "2021-01-04T17:13:12Z")

</div>

The change is still not available in the UI.

Please feel free to ask. I am available now to make any test if required.  
I just want it to work 😉

Thanks

---

<div class="post-metadata">

### Author: ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)
#### Post date: [January 4, 2021, 5:22pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/8 "2021-01-04T17:22:42Z")

</div>

I did a manual refresh on this specific environment.  
Do you see your changes now ?

---

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 4, 2021, 5:24pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/9 "2021-01-04T17:24:39Z")

</div>

Yes, now I see it.

However, I am afraid to put this change in production, because of this issue.  
I can test it in Staging.

How would you recommend to proceed?

---

<div class="post-metadata">

### Author: ![anon39848301](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@anon39848301](https://community.forestadmin.com/u/anon39848301)
#### Post date: [January 4, 2021, 5:42pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/10 "2021-01-04T17:42:39Z")

</div>

I would suggest to try on a staging environment first, just to be sure. If any issue is detected, you should be able to apply the same change on production.

We should be able to refresh any environment having the problem, but from what I understood, the original issue is due to job queuing, so we will still require more in depth investigation to avoid this happening to you in the future.

---

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 4, 2021, 5:49pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/11 "2021-01-04T17:49:52Z")

</div>

Ok, the change has been applied in Staging without any issue.

So, I will forward it in production, in the evening.

Thanks for your help.

Best.

---

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 4, 2021, 7:39pm UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/12 "2021-01-04T19:39:13Z")

</div>

Hi [jeffladiray](https://community.forestadmin.com/u/jeffladiray)

I still have a refresh problem in Production environment.

The changes described in this issue have been taken into account, but I have two other changes that were applied at the same time, and they have not been completed in Production:

- a new collection : vstat\_transactions\_month
- a change in a many to many associtation

Could you please manually refresh our Production environment?

Thanks in advance

---

<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: [January 5, 2021, 8:53am UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/13 "2021-01-05T08:53:39Z")

</div>

Hi @Louis-Marie 👋, I refresh your production environment cache let me know if the issue persist.

---

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 5, 2021, 8:59am UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/14 "2021-01-05T08:59:49Z")

</div>

Hi @Arnaud_Moncel

The issue persists yes.  
Same problem, nothing changed.

Thanks

---

<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: [January 5, 2021, 9:24am UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/15 "2021-01-05T09:24:36Z")

</div>

I do another manipulation, can you try to refresh your browser.  
If the issue persist can you give me an exemple of untaken changes.

---

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 5, 2021, 9:29am UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/16 "2021-01-05T09:29:31Z")

</div>

Same issue.

The collection : vstat\_transaction\_months was added recently.

It appears in Development, and in Staging, but it does not appear in Production.

---

<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: [January 5, 2021, 9:42am UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/17 "2021-01-05T09:42:48Z")

</div>

From what i can see, your collection `vstat_transaction_months` is present, can you check if it not simply hidden please?

---

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 5, 2021, 9:57am UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/18 "2021-01-05T09:57:20Z")

</div>

No, I am sorry.

When I switch in Layout design mode, I cannot see it, while I can see it in Staging, and in Development.

Let me give you another example of a change that does not appear:  
I was having a many to many relation from devices to **t\_users** named: “users”  
=\> I changed it to have a many to many relation from devices to **users** named: “users\_on\_device”

In Production, I still have the old one.

---

<div class="post-metadata">

### Author: ![Louis-Marie](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@Louis-Marie](https://community.forestadmin.com/u/Louis-Marie)
#### Post date: [January 5, 2021, 10:48am UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/19 "2021-01-05T10:48:28Z")

</div>

Hi again,

How can I help?  
I can trace network flows, or give you any more information.  
But, please, I need it to work.

Thanks

---

<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: [January 5, 2021, 10:56am UTC](https://community.forestadmin.com/t/layout-refresh-problem-again/1566/20 "2021-01-05T10:56:04Z")

</div>

Do you notice the issue on all the teams? On which team do you work?

[Next page](https://community.forestadmin.com/t/layout-refresh-problem-again/1566.md?page=2)
