CodeForPhilly / CodeForPhilly/benefit-decision-toolkit

`updateCustomBenefit` does not update BenefitDetail on related Screener

Aperta
#253 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
16
Fork
5
Merge medio
1g 1h
PR unite (30g)
24

Descrizione

## Bug
- Currently, updates to Custom Benefit fields such as `name` or `description` via `updateCustomBenefit(...)` do not also change the same fields on the corresponding `BenefitDetail`.

## Notes
- The purpose of having BenefitDetails on the Screener model is to allow us to get the name/descriptions of Custom Benefits related to a Screener quickly without having to individually query for each one. This allows the List page for Custom Benefits in a Screener to load more quickly than it otherwise would.
- It may be worth examining if there is a feature or strategy we can leverage to maintain this speed without having two sources of truth for fields like Custom Benefit name/description that need to be kept in-sync.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia da updateCustomBenefit(...) e traccia come viene individuato e persistito il Screener BenefitDetail corrispondente. Confronta il nome e la descrizione del Custom Benefit con il BenefitDetail correlato, quindi verifica che gli aggiornamenti mantengano sincronizzati questi campi senza compromettere il comportamento esistente di ricerca rapida.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
backend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.