Vis problemdetaljer
| ID | Prosjekt | Kategori | Visningsstatus | Dato lagt inn | Siste oppdatering |
|---|---|---|---|---|---|
| 0000096 | BAS21 | BAS21 | Offentlig | 2024-06-13 22:06 | 2024-06-13 22:06 |
| Rapportert av | Ystads akevitt | Delegert til | chreide | ||
| Prioritet | Normal | Alvorlighetsgrad | Mindre | Mulighet for å reprodusere | Har ikke forsøkt |
| Status | Delegert | Løsningsstatus | Åpen | ||
| OS | Linux | Versjon | beta21 | ||
| Oppsummering | 0000096: Får ikke automatisk nytt varenummer | ||||
| Beskrivelse | Husker ikke hvordan dette var i versjon 1.7, men jeg trodde jeg kunne registrere en ny vare uten å legge inn varenummer (og så kommer neste nummer i serien automatisk). Vel, uansett hvordan det var tidligere, så får man en feilmelding når man forsøker i beta-21: 2024-06-13 22:01:07,615 - ERROR - [2.0.0.17] ERROR: Exception in ASGI application Traceback (most recent call last): File "uvicorn/protocols/http/httptools_impl.py", line 411, in run_asgi File "uvicorn/middleware/proxy_headers.py", line 69, in __call__ File "fastapi/applications.py", line 1054, in __call__ File "starlette/applications.py", line 123, in __call__ File "starlette/middleware/errors.py", line 186, in __call__ File "starlette/middleware/errors.py", line 164, in __call__ File "starlette/middleware/exceptions.py", line 65, in __call__ File "starlette/_exception_handler.py", line 64, in wrapped_app File "starlette/_exception_handler.py", line 53, in wrapped_app File "starlette/routing.py", line 756, in __call__ File "starlette/routing.py", line 776, in app File "starlette/routing.py", line 297, in handle File "starlette/routing.py", line 77, in app File "starlette/_exception_handler.py", line 64, in wrapped_app File "starlette/_exception_handler.py", line 53, in wrapped_app File "starlette/routing.py", line 72, in app File "fastapi/routing.py", line 278, in app File "fastapi/routing.py", line 193, in run_endpoint_function File "starlette/concurrency.py", line 42, in run_in_threadpool File "anyio/to_thread.py", line 56, in run_sync File "anyio/_backends/_asyncio.py", line 2177, in run_sync_in_worker_thread File "anyio/_backends/_asyncio.py", line 859, in run File "bascore/webapi/api/vare.py", line 110, in save_vare File "bascore/baslib/__init__.py", line 73, in func_wrapper File "bascore/baslib/vare.py", line 80, in save_vare bascore.baslib.ValidationException: Varenummer er påkrevd Feilmeldingen er ganske selvforklarende. Da jeg la til et varenummer, gikk det fint å registrere ny vare. (Har ikke forsøkt et vilkårlig nummer, jeg tok den neste i serien.) | ||||
| Nøkkelord | Ingen nøkkelord tilknyttet | ||||
| Dato endret | Brukernavn | Felt | Endring |
|---|---|---|---|
| 2024-06-13 22:06 | Ystads akevitt | Ny sak | |
| 2024-06-13 22:06 | Ystads akevitt | Status | Ny => Delegert |
| 2024-06-13 22:06 | Ystads akevitt | Delegert til | => chreide |