ErwinKomen / RU-passim

0 stars 0 forks source link

SermonGold: cannot create new SG #732

Closed ErwinKomen closed 7 months ago

ErwinKomen commented 7 months ago

Ik kwam achter het volgende: er kan geen nieuwe SG worden toegevoegd aan een nieuwe AF (en dus überhaupt geen informatie aan een nieuwe AF worden toegevoegd). In plaats daarvan krijg ik dit scherm, waarbij geen velden verschijnen bij het aanklikken van het ‘edit’ symbool.

Is dit inderdaad een bug? Kun je zien wat er mis gaat?

ErwinKomen commented 7 months ago

This error occurs, when a new Sermon Gold is attempted to be made, starting from the Authority File details page. So: it must be associated with the changes that have been made in the authority file details.

Okay, there is still a hidden form for the gold creation, and it still has the input parameter gold-n-equal

Okay, there is an error, but that error makes little sense. Found it: when SermonGold does a save(), the extra operations done in saving may only be done if there is an existing SG. Adapted the SG's save() method, now it works okay.