sartography/spiff-arena

dev.mod - PP1/PP2 error

Closed this issue · 9 comments

When the requestor submits a PP1/PP2 form without adding any Supporting Information then it gives this error. First I thought it was a model issue, that's why I asked KB to update the models. But the same happen after that also.
It works in test.app/test.mod so it's not a model issue.

(May be it's similar to the issue Dinithi had with the inclusive gateway?)

https://dev.mod.spiff.status.im/i/39274
https://dev.mod.spiff.status.im/i/39276

Image

Image

is it the same issue as #1575, where some variables that were previously set to null are now absent? FYI, @calexh-sar

@burnettk so the model has to be updated?

yeah

i updated three variables in PP1 on dev.app. There were del(blah) commands that were not working until i wrapped them in try / except NameError blocks, like this:

# delete team_id if it exists
try:
    del(team_id)
except NameError:
    pass

@burnettk, where exactly did you update the variables? do you remember what were the variables?

@madhurrya this error is related to the change I introduced to fix the issue you mentioned originally #1589 (comment)

try: supporting_information except NameError: supporting_information = ""

Fixed the issue in dev.app - promoted to test.app and uat.mod

This issue is fixed now.