You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apps that were created before v2.4.x are not working as expected. Specifically, the tables seem broken in some cases.
After upgrading to the latest lowcoder version from 2.3.0 to 2.4.x, user can no longer select rows on some tables, and tables no longer work with various issues. When a user clicks on a row, an error populates in the dev console:
index-4f883cee.js:265 Uncaught TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at index-4f883cee.js:855:680 at Map.forEach (<anonymous>) at t.fetchInfo (index-4f883cee.js:855:518) at a_n (index-4f883cee.js:832:24221) at n.value [as fetchInfo] (index-4f883cee.js:832:24403) at t.fetchInfo (index-4f883cee.js:832:27040) at a_n (index-4f883cee.js:832:24221) at n.value [as fetchInfo] (index-4f883cee.js:832:24403) at index-4f883cee.js:832:28275
One issue seems to be with data that has null values for some properties. Another issue seems to be related to columns not correctly mapping to the new table metadata structure. The two pictures below show a table column that cannot be fixed. The data mapping dropdown is hardcoded with {{currentCell}} and there are no other options.
If you duplicate the table, the new table does not work as well. Also, if you create a completely new table, you cannot rename it to the old table name without the table breaking again. For apps with queries that reference this table, they must all be refactored manually and a new table needs to be created in every app that experiences this issue. There does not seem to be a feasible workaround for this problem.
If a suite of apps are being developed over time, there is no way to upgrade the lowcoder platform and continue with existing apps. They must all be recreated, which blocks development progress. The current scenario is: you can never upgrade, you are stuck with the version you started in, and you must maintain several versions of this platform to be able to deploy a suite of apps that have been developed over time.
Expected Behavior
When an app that was created in a 2.3.x version of lowcoder to a 2.4.x version of lowcoder, it should behave normally without issues.
Potentially an upgrade path for these components should be developed so as their structure changes, there is a mapping from the old structure to the new structure that does not break the apps.
Steps to reproduce
Create an application in 2.3.0, with a table, and data backing that table that has null values for some fields/properties.
Import that application into a 2.4.x (2.4.5, for instance) version of lowcoder. Check for errors and bugs.
Environment
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
FalkWolsky
changed the title
[Bug]: Apps created in older versions of lowcoder are no longer working after upgrades to the platform
Apps created in older versions of lowcoder are no longer working after upgrades to the platform
Nov 22, 2024
We agree that backwards compatibility is a high value and we aim indeed always to make this possible.
When you see the truly big changes and improvements from 2.3.0 to 2.4.x (already by comits and lines of code) you may see that even if we aim for this - our small team cannot guarantee a full backwards compatibility. As Lowcoder is and will be still cost free, we source our development by partners and simply from our pockets. One may value the nature of these circumstances - and could for example help us by a sponsorship or a direct code contribution.
As for your current problem with table, we kindly ask you to replace the old table with a new placement. This is not perfect, but will be a good solution to access the hundreds of new features in the table.
Like column types, custom styling, edit and summary rows, sorting and extension and so on and so on.
We agree it is an issue. But we only partially agree that this is a simple bug that is to fix. We will naturally look into it and try our best to get these errors also fixed. However, we can also state, that many groundshaking changes where introduced that time - and this rush is largely done - so we do not expect much shaking and such problems in future.
Is there an existing issue for this?
Current Behavior
Apps that were created before v2.4.x are not working as expected. Specifically, the tables seem broken in some cases.
After upgrading to the latest lowcoder version from 2.3.0 to 2.4.x, user can no longer select rows on some tables, and tables no longer work with various issues. When a user clicks on a row, an error populates in the dev console:
index-4f883cee.js:265 Uncaught TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at index-4f883cee.js:855:680 at Map.forEach (<anonymous>) at t.fetchInfo (index-4f883cee.js:855:518) at a_n (index-4f883cee.js:832:24221) at n.value [as fetchInfo] (index-4f883cee.js:832:24403) at t.fetchInfo (index-4f883cee.js:832:27040) at a_n (index-4f883cee.js:832:24221) at n.value [as fetchInfo] (index-4f883cee.js:832:24403) at index-4f883cee.js:832:28275
One issue seems to be with data that has null values for some properties. Another issue seems to be related to columns not correctly mapping to the new table metadata structure. The two pictures below show a table column that cannot be fixed. The data mapping dropdown is hardcoded with {{currentCell}} and there are no other options.
If you duplicate the table, the new table does not work as well. Also, if you create a completely new table, you cannot rename it to the old table name without the table breaking again. For apps with queries that reference this table, they must all be refactored manually and a new table needs to be created in every app that experiences this issue. There does not seem to be a feasible workaround for this problem.
If a suite of apps are being developed over time, there is no way to upgrade the lowcoder platform and continue with existing apps. They must all be recreated, which blocks development progress. The current scenario is: you can never upgrade, you are stuck with the version you started in, and you must maintain several versions of this platform to be able to deploy a suite of apps that have been developed over time.
Expected Behavior
When an app that was created in a 2.3.x version of lowcoder to a 2.4.x version of lowcoder, it should behave normally without issues.
Potentially an upgrade path for these components should be developed so as their structure changes, there is a mapping from the old structure to the new structure that does not break the apps.
Steps to reproduce
Create an application in 2.3.0, with a table, and data backing that table that has null values for some fields/properties.
Import that application into a 2.4.x (2.4.5, for instance) version of lowcoder. Check for errors and bugs.
Environment
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: