After upgrading from 3.0.1 to 3.1.1 the stockoverview page is empty, an error is shown in the JS console: _Cannot set property '_DTCellIndex' of undefined but since the code is obfuscated it's hard to find exactly where - it's inside the datatable rendering code.
Diagnosis:
A migration needs to run but did not, resulting in stockoverview showing empty where it should show entries.
I found a workaround for anyone trying to figure this out too:
Connect to the docker container, remove all files and folders under viewcache.
Restart the container
Go to the root of the project, not to a subsection (ie not to /stockoverview but to /)
I believe this will happen to others so it should be mentioned as an upgrade note.
One guess: this may be a 'user error' because after the update one is meant to go to the root of the project but normally you'd have a page in the history or already loaded so it's easy to just reload that. Doing this seems to leave something in the viewcache that means the migration never runs after that.
Steps to Reproduce
Have a 3.0.1 release populated with data
Upgrade to 3.1.1
Reload and try to access /stockoverview
Environment
OS: Linux
CPU architecture: x86_64
How docker service was installed:
Synology NAS
Command used to create docker container (run/create/compose/screenshot)
Not necessary, standard run with bridge networking and /config/data mounted to a shared folder with correct permissions.
Docker logs
There are no errors or warning on the logs, just normal startup
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behavior
Upgrading should go without issues.
Current Behavior
After upgrading from 3.0.1 to 3.1.1 the stockoverview page is empty, an error is shown in the JS console: _Cannot set property '_DTCellIndex' of undefined but since the code is obfuscated it's hard to find exactly where - it's inside the datatable rendering code.
Diagnosis:
I believe this will happen to others so it should be mentioned as an upgrade note.
Steps to Reproduce
Environment
OS: Linux CPU architecture: x86_64 How docker service was installed:
Synology NAS
Command used to create docker container (run/create/compose/screenshot)
Not necessary, standard run with bridge networking and /config/data mounted to a shared folder with correct permissions.
Docker logs
There are no errors or warning on the logs, just normal startup