You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When saving an already accepted pirep, below error occurs.
[2021-06-06 21:12:26] prod.ERROR: Attempt to assign property 'pirep_id' of non-object
{"userId":3,"exception":"[object] (ErrorException(code: 0): Attempt to assign property 'pirep_id' of non-object at /app/Services/FareService.php:311)
Version
7.0.0-dev+210604.96d33c
To Reproduce
Steps to reproduce the behavior:
Go to admin -> pireps
Click on one of the accepted pireps
Do not edit anything (most of the fields are already read only, if you wish edit some possible fields like notes/remarks)
Scroll down enough to see the SAVE button
Click on it (either you will see the error or famous server error screen depending on APP_DEBUG)
Expected behavior
Well, as the button says , it should save ... At least if nothing is change either we should not see that button or it should revert back without saving anything. But getting an error is not expected at all
Additional Info
The pirep I tried was a fresh one, there were no changes done to the fares related to that pirep. It was just receieved from Acars, auto accepted, I went in to check some details and clicked the save button by mistake.
This error is also reported by one of the users at Discord and we all thought that he deleted a fare or something related to that pirep.
The text was updated successfully, but these errors were encountered:
FatihKoz
changed the title
Admin : Save Pirep Button Generates Error (FareService)
Admin : Save Pirep Button Generates Error | FareService (Bug Report)
Jun 11, 2021
Describe the bug
When saving an already accepted pirep, below error occurs.
Version
7.0.0-dev+210604.96d33c
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Well, as the button says , it should save ... At least if nothing is change either we should not see that button or it should revert back without saving anything. But getting an error is not expected at all
Additional Info
The pirep I tried was a fresh one, there were no changes done to the fares related to that pirep. It was just receieved from Acars, auto accepted, I went in to check some details and clicked the save button by mistake.
This error is also reported by one of the users at Discord and we all thought that he deleted a fare or something related to that pirep.
The text was updated successfully, but these errors were encountered: