LemmaLegalConsulting / docassemble-Covid19debt

A docassemble extension.
MIT License
0 stars 0 forks source link

user.address.country error when making document #96

Closed tobyfey closed 2 years ago

tobyfey commented 2 years ago

Error Retry

Interview has an error. There was a reference to a variable 'user.address.country' that could not be looked up in the question file (for language 'en') or in any of the files incorporated by reference into the question file.

Needed definition of debt_brief at 0.00213s Tried to run block at 0.00217s id: debt brief attachment:

tobyfey commented 2 years ago

Problem is from this commit, which changed .country to .state -

https://github.com/LemmaLegalConsulting/docassemble-Covid19debt/commit/b63834a1aa3e6c001f65eec3d47047ab58d919c1

So it should be

But which choices code is better

code: | 
  states_list(country_code="gb")

code: |
  countries_list()
default: United Kingdom

Should probably be required if it is required by final document