Layout refresh problem

Hi team,

I have recurrent issues working with the Forest admin layout.
My different actions are not all correctly recorded.
It can occur at any time, in any environment, and it is not showing any error.

Please find below the video that illustrates the issue.
I am hiding three columns, and when refreshing the layout, only two of three have been changed.
I have the same problem when changing the order of the columns.
It is very unpleasant and we cannot known in advance what will be correctly recorded.

Thanks in advance for your help

My current setup:

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

Hi @Louis-Marie,

Sorry to read your issue.
Can you tell us when you recorded the screencast you shared in this post exactly?
Do you feel this specific to columns layout edition?

Thanks for your help.

Hi @Louis-Marie,

All my regrets for this inconvenience.
Let’s take the example of hiding 3 collections, only 2 were really hidden after page refresh.
Were you able finally to hide successfully the third collection by using again the layout editor?

Thank you

Hi @arnaud

It was recorded this morning just before opening this ticket (and after applying the last release of forest-express / forest-express-sequelize).

Do you feel this specific to columns layout edition?

I am not sure. I think that I already encountered the same issue on other actions in the layout.
When this occurred previously, I was thinking that I forgot to make some action.
I have just noticed, that it was occurring too frequently to be my repeated mistake.

I am sure that I already had the same issue while ordering the columns in layout edition.

Hi @Sliman_Medini

I can repeat the same layout actions, and sometimes, it works, sometime the same issue appears again. It is very strange. I cannot define a specific action that make it work or not.

Thanks to both of you.

You are welcome,

This looks like the kind of issue that is hard to track.
I have a lot of questions, confirmation to help us.

Questions:
What is your project name?
What environment+team faces the issue?
Is it only for this environment? team?

Confirmations:
Some patches are sometimes applied,
There is never any console.error, (only PATCH 200)
It can happen on hiding collection, but also on (just one other example would be helpful)

Many thanks for your help

Hi @Sliman_Medini

What is your project name?

I have only one project, named MyPocket

What environment+team faces the issue?
Is it only for this environment? team?

All environments / all teams.
I can reproduce the issue whenever I want, whatever the collection is.

Some patches are sometimes applied,
There is never any console.error , (only PATCH 200)
It can happen on hiding collection, but also on (just one other example would be helpful)

Yes, I can see the PATCH methods called for each column that I am hiding.
They are returning 204.
Here is an example of the PATCH payload.

I think that this is issued linked to a deferred operation somewhere on your server.
If I wait around 10 seconds, and load the page again, sometime, the new display is different again.

This is really annoying as I do not never know if my modifications are taken into account or not.

Thanks in advance for your help.

Best.

1 Like

Hello @Louis-Marie

An issue was created in our board, you can track the progress here:

1 Like

Hi,

I am currently facing this issue on each try when I am customizing the layout of my last collection : vstat_transactions_month.

This is a pretty large collection in terms of number of columns.

I don’t know where the problem is coming from, but it renders the UI unusable.

Please, please, I 'm ready to help or to assist in finding the source of the problem.

Thanks in advance

Hello @Louis-Marie :wave:

Would it be possible for you to share a dump of your database schema please ? (You can send it in private message if you want)

I’m having a hard time reproducing this, I would like to mimic your environment to perform some tests.

Thanks in advance :smiley:

Steve.

Hi @Steve_Bunlon

Is it possible to send it to you in a private message?

Thanks

Sure, directly on slack :slight_smile:

Steve.

I regularly encounter the issue too!

1 Like