[P0] Fix: Maradek cost_date hiba expenses.py line 533 #281
Notifications
Total Time Spent: 3 minutes
kincses
3 minutes
No due date set.
Dependencies
No dependencies set.
Reference: kincses/service-finder#281
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Merfoldko: Koltseg rogzites (Expense Tracking)
Cel: A #278-as javitas hianyos volt - a response dict-ben (line 533) az SQLAlchemy AssetCost modellen -et erunk el, de a mezo neve Tue Jun 23 01:04:45 PM UTC 2026. Ez 500-as hibat okoz.
🔗 Fuggosegek (Dependencies)
📝 Elemzés
A #278-as javitas a konstruktort javitotta (line 464: cost_date= -> date=), de a response dict line 533-at kihagyta. new_cost SQLAlchemy AssetCost peldany, aminek a helyes attributuma, nem . A hiba uzenet: AssetCost object has no attribute cost_date
▶️ Munka megkezdve: 2026-06-23 15:04:58
✅ Munka befejezve: 2026-06-23 15:07:59
Technikai Összefoglaló:
Fix: expenses.py:533 - new_cost.cost_date -> new_cost.date. A #278-as javitas hianyos volt: a konstruktort javitottuk (line 464) de a response dict-et (line 533) kihagytuk. new_cost SQLAlchemy AssetCost peldany, aminek .date a helyes attributuma. POST /api/v1/expenses/ teszt: 201 Created, sikeres koltseg rogzites a QWE432-re.
⏱️ Az idő rögzítve.