contacts not normalized / update anomoly / complex code
Bug #752670 reported by
Dan MacNeil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MVHub |
In Progress
|
High
|
Ferhat Elmas |
Bug Description
CallManger.pm an has update annomaly bug
To reproduce in call manager:
1) uncheck first program record
2) change first name.
3)..submit the form.
...It will appear as though the first name hasn't been changed because that is being pulled from first (unchecked record)
Call manager code displays records based on contact email and agency_id. THe above data is not lost if the contact email is changed.
The Notifications code is needlessly complex because contact info is duplicated accross program and agency records.
the solution is to re-work program , agency tables so they are normalized. and the Notifications & CallManager code sod that they take advantage of normalized code
Related branches
lp:~felmas/mvhub/contact_2nf_dialect
- Dan MacNeil: Needs Fixing
-
Diff: 448 lines (+149/-146)5 files modifiedapp-mvhub/conf/sql_select.lib (+1/-0)
app-mvhub/conf/sql_update.lib (+1/-2)
app-mvhub/conf/templates/html/call_manager.tmpl (+36/-43)
lib-mvhub/lib/MVHub/CGIAppBase.pm (+0/-2)
lib-mvhub/lib/MVHub/CallManager.pm (+111/-99)
Changed in mvhub: | |
status: | Confirmed → In Progress |
assignee: | Dan MacNeil (omacneil) → Ferhat Elmas (felmas) |
To post a comment you must log in.