Hankintailmoitukset / hilma-api

11 stars 0 forks source link

Notice error when saving (test environment) #223

Open OlliSurakka opened 3 weeks ago

OlliSurakka commented 3 weeks ago

Describe the bug Notice draft gives an error when saving the data for the first time

To Reproduce Steps to reproduce the behavior:

  1. User creates a notice draft through draft API.
  2. User tries to save data in Hilma UI
  3. An error occurs in Ilmoituksen yleiset tiedot tab and Ilmoituksen tiedot tab. (video enclosed)

Expected behavior No errors occur when saving the data.

https://github.com/Hankintailmoitukset/hilma-api/assets/146176930/82d51195-d121-4e7a-9e78-8713cf696adc

solita-diego commented 2 weeks ago

Hi @OlliSurakka,

We haven't been able to reproduce this yet on our end. Does this occur every time for you when you try to save data in Hilma or did it happen in this single case only?

OlliSurakka commented 2 weeks ago

This happens only when the user:

solita-diego commented 2 weeks ago

I have tried to reproduce the error in the test environment but I'm unable to get the error you are seeing. I created a draft notice via the draft API and then tried to save the data in Ilmoituksen yleiset tiedot -tab -> no errors (see video below).

If the error reproduceable on your end, would it be possible for you to check the browser developer console (F12) while saving data in Hilma to see if there are more information about the error there? I'd check at least the console and network tabs. Or we could arrange a Teams session where we could try to get some information about the error, if that's a better option for you.

https://github.com/Hankintailmoitukset/hilma-api/assets/144889429/30b75ed7-9267-4610-a896-12f80746201a