Vis problemdetaljer
| ID | Prosjekt | Kategori | Visningsstatus | Dato lagt inn | Siste oppdatering |
|---|---|---|---|---|---|
| 0000095 | BAS21 | BAS21 | Offentlig | 2024-06-09 17:05 | 2024-06-09 17:05 |
| 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 | beta-19 | ||
| Oppsummering | 0000095: Mer om tukling med kontoplanen | ||||
| Beskrivelse | Importerer regnskap eksportert fra v1.7.0, der konto 1350 er gjort til samlekonto for fire-fem andre konti. Dobbeltklikker på 1350 i kontoplanen (samme for 1920, som er samlekonto for flere bankkonti): det kommer en liten boks for («ny underkonto» som jeg ikke har bedt om (vedlagt skjermdump). Jeg klikker den vekk, og saken er ute av verden. Men så er ikke konto 1350 koblet til noen kode i næringsrapporten, ser det ut til. Jeg kobler den til 1350 og klikker «lagre», men da blir det rødblink og feil i klientloggen: 2024-06-09 17:00:09,452 - ERROR - [2.0.0.15] 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/konto.py", line 135, in update_konto File "bascore/baslib/__init__.py", line 73, in func_wrapper File "bascore/baslib/konto.py", line 815, in update_konto File "bascore/baslib/__init__.py", line 73, in func_wrapper File "bascore/baslib/konto.py", line 647, in valider_konto File "pydantic/main.py", line 811, in __getattr__ AttributeError: 'KontoViewModel' object has no attribute 'underkonti_fra' 2024-06-09 17:00:09,452 - ERROR - [2.0.0.beta19] Traceback (most recent call last): 2024-06-09 17:00:09,452 - ERROR - [2.0.0.beta19] 2024-06-09 17:00:09,452 - ERROR - [2.0.0.beta19] File "ui/innstillinger/konto.py", line 292, in save 2024-06-09 17:00:09,452 - ERROR - [2.0.0.beta19] 2024-06-09 17:00:09,452 - ERROR - [2.0.0.beta19] File "services/konto.py", line 129, in oppdater_konto 2024-06-09 17:00:09,452 - ERROR - [2.0.0.beta19] 2024-06-09 17:00:09,452 - ERROR - [2.0.0.beta19] File "httpx/_models.py", line 761, in raise_for_status 2024-06-09 17:00:09,452 - ERROR - [2.0.0.beta19] 2024-06-09 17:00:09,453 - ERROR - [2.0.0.beta19] httpx.HTTPStatusError: Server error '500 Internal Server Error' for url 'http://127.0.0.1:56721/api/v1/konto/konto/837' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500 2024-06-09 17:00:09,453 - ERROR - [2.0.0.beta19] | ||||
| Tilleggsinformasjon | Dette er antagelig samme sak som 0000094 (eller en variant av den): https://tracker.bas21.no/view.php?id=94 | ||||
| Nøkkelord | Ingen nøkkelord tilknyttet | ||||
| Filvedlegg | |||||
| Dato endret | Brukernavn | Felt | Endring |
|---|---|---|---|
| 2024-06-09 17:05 | Ystads akevitt | Ny sak | |
| 2024-06-09 17:05 | Ystads akevitt | Status | Ny => Delegert |
| 2024-06-09 17:05 | Ystads akevitt | Delegert til | => chreide |
| 2024-06-09 17:05 | Ystads akevitt | Fil lagt til:: bilde.png |