micado-eu / pa_application

application for the PA
European Union Public License 1.2
1 stars 4 forks source link

Migration in figures bug #161

Closed gi-dorio closed 3 years ago

gi-dorio commented 3 years ago

If there are no entry in the charts table on the db, the page shows as blank white page without the banner and the button to manage charts

balcse commented 3 years ago

it should work to copy a row from the joint DB and insert it via PGadmin

gi-dorio commented 3 years ago

Yes it does, it seems that the rendering of the page (with the buttons that allow managing charts) is linked to the condition that there must be at least three boards. Is there a reason for this? Because, while putting things manually from pgadmin is a functioning workaround, i think the page should be visible and functional also without any data in it

JowieXiang commented 3 years ago

Thank you all for the discussion, the original code was problematic, and now I am handling the data-loading more properly: Fix here c5fa0a49b8197cebd28252d9496f604d5fe1cf43