RestyaPlatform / board

Trello like kanban board. Based on Restya platform.
http://restya.com/board/
Open Software License 3.0
2.03k stars 381 forks source link

Card content not loading for certain users after update to 1.7 #4329

Closed julesfarrow closed 3 years ago

julesfarrow commented 3 years ago

Expected Behavior

When you click onto a card within a board, the overlay window should open and show the content of the card.

Current Behavior

For at least one of my users (discovered so far) after the upgrade to 1.7 they are shown a partially loaded/mostly blank overlay window as per the screenshot below. They also have an error message in the js console: default.cache.js:1 Uncaught (in promise) TypeError: Cannot read property 'r_cssilize' of null at default.cache.js:1 at default.cache.65786288.js:1 This behaviour is unique to this user - and follows when the user account is logged into alternative devices/browsers, where logging in with another user account solves the issue.

Screenshots (if appropriate):

Screenshot from 2021-08-03 17-24-52

Your Environment

sridhar391 commented 3 years ago

@julesfarrow In the Restyaboard latest version v1.7, In the Restyaboard admin panel, Roles page, we have added the cards tab, in which you can select the fields which you want to be shown to the particular board user role and for which board user role you don't want to show the fields

We have added the permission to view all the card details by the board user roles owner and editor and for the viewer roles, you can manage which fields by selecting for the Viewer role

card-fields-permission

For more details, please refer to the documentation in the link https://restya.com/board/docs/restyaboard-manage-permission-for-card-fields/

julesfarrow commented 3 years ago

@sridhar391 when I visit this page from an admin account, no content shows. Perhaps an issue during the upgrade to 1.7?

image

sridhar391 commented 3 years ago

@julesfarrow Can you please tell us if you have updated the Restyaboard using Restyaboard installation script "restyaboard.sh" and if you have updated using the installation shell script, please send us the Restyaboard log file named "restyaboard_install.log"

For updating the Restyaboard, please execute the SQL command from the link https://github.com/RestyaPlatform/board/blob/master/sql/upgrade-0.6.9-1.7.sql on your Restyaboard database

julesfarrow commented 3 years ago

restyaboard_install.log

@sridhar391 yes, updated using "restyaboard.sh" from the home directory. Log file attached for your reference.

Running the .sql file above as "sudo -u postgres psql -d restyaboard -f upgrade-0.6.9-1.7.sql" from the instance solved this problem, for anyone else having the same issue.

sridhar391 commented 3 years ago

@julesfarrow We have checked the log and you have used the old Restyaboard installation script file, that's why it didn't executed the ugrade SQL file

Thanks for the confirmation of the issue fix