`AgreementSummaryCard` broken when the `Agreement` doesn't have a `ProjectOfficer`
Closed this issue · 1 comments
johndeange commented
AgreementSummaryCard
broken when the Agreement
doesn't have a ProjectOfficer
Expected Behavior
- Create an
Agreement
without aPO
. - Navigate to the
Create New Budget Line
page and select theAgreement
- The
AgreementSummaryCard
should display theAgreement
details.
Current Behavior
In step 3 above, the JS throws an exception because no ProjectOfficer
is defined on the Agreement
.
Possible Implementation
- Is the
ProjectOfficer
required to create aContract
? If not, do not assume it is set in theAgreementSummaryCard
. - An
Agreement
that is not aContract
will not have aProjectOfficer
set at all - do not require this in theAgreementSummaryCard
for non-Contract
agreements.
jonnalley commented
7/10