Hello everyone, I ask your help to solve a problem I am facing with TableField. After updating the module TableField for version 7.x-3.1 I verified that it did not work correctly after the update, so I performed the downgrade for version 7.x-2.5. After the downgrade I have the following problem: When inserting a content that uses the TableField is not displayed the table, the information only appears on the screen after I run the "Flush cache Page and else". Every time I insert content it only appears if I do this. Does anyone know how to solve this?

Comments

carlos_andrepf created an issue. See original summary.

carlos_andrepf’s picture

Title: Bug após atualizar TableField » Bug after updating TableField
lolandese’s picture

Priority: Critical » Normal

After updating the module TableField for version 7.x-3.1 I verified that it did not work correctly after the update

Indicate what didn't work. It might be better to fix that instead.

After the downgrade I have the following problem: When inserting a content that uses the TableField is not displayed the table, the information only appears on the screen after I run the "Flush cache Page and else".

Did you rollback your database? The upgrade changes the table structure drastically, so issues can be expected if you downgrade the codebase without a rollback of the database. As mentioned on the project page and in the included file UPGRADE.txt:

Before upgrading backup your database just in case.

carlos_andrepf’s picture

Thanks for the answer.
1º - When upgrading to version 7.x-3.1, the error that occurred was that after creating a tablefield content,
the table did not appear, or appeared distorted. Then we decided to go back to version 7.x-2.5.

2º - I did not rollback the database. Is there any way to change the table structure without backing it up?

The problem that is occurring now with the version 7.x-2.5 is that after inserting the content with tablefield, everything appears blank,
and after clearing the cache the information appears.
image to visualize what happens

lolandese’s picture

Did you ran update.php to invoke the update hooks?

carlos_andrepf’s picture

Yes, I ran update.php, but it still did not work.

lolandese’s picture

Right after you upgraded the module? Not editing or creating table fields in between?

carlos_andrepf’s picture

Yes, I created and edited TableField to run tests.

lolandese’s picture

Probably that is where it went wrong. The first thing to do after an upgrade is to run update.php. And always make sure you have a database backup so you can rollback.

If suggest you remove all existing tablefieds, unistall the module, upgrade to 7.3, install the module and add your tablefield again. I do not know of how much content we are talking but if it isn't too much that seems a way to get out of the mess. In any case make a database backup in advance.

liam morland’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.