nikobojs / manuscrape_electron

ManuScrape desktop app for Windows 11
5 stars 2 forks source link

Can't add new field to existing project from manuscrape.org #53

Closed Mod-lab-stoff closed 11 months ago

Mod-lab-stoff commented 11 months ago

i tried to add a dropdown or text field to an existing project in firefox and got " unexpected server error".

nikobojs commented 11 months ago

I can't reproduce this error and have no clue how to. Can you provide some more details? And maybe invite me to the project temporarily on n at nikobojs dot com.

Mod-lab-stoff commented 11 months ago

Just tried again in firefox and edge, same error. You have now been invited

image

nikobojs commented 11 months ago

I reproduced the bug :+1: It seems the unique constraints in the database are blocking the request. Will research deeper and hopefully fix within an hour

nikobojs commented 11 months ago

It was due to bad logic in the parameter index system (the order of project parameters).

I have refactored the index logic and added automation of correcting invalid parameter indexes. So from on, it should work and correct itself automagically for all occurrences of wrong parameter index values.

Give it a try and see if it works!

Mod-lab-stoff commented 11 months ago

It works now thanks!