Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update respondent declaration #625

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update respondent declaration #625

wants to merge 2 commits into from

Conversation

mcoms
Copy link

@mcoms mcoms commented Sep 7, 2023

Description

The document generator is currently generating what may amount to false declarations in the case that a respondent is responding to a sole application.

Respondents who are not represented by a solicitor are asked by div-respondent-frontend to make the following declaration:

I believe that the facts stated in this response are true.

followed by a warning:

Proceedings for contempt of court may be brought against anyone who makes, or causes to be made, a false statement verified by a statement of truth without an honest belief in its truth.

https://github.com/hmcts/div-respondent-frontend/blob/401d8984f348ea94390fab52f2a51bd997b71d96/steps/respondent/check-your-answers/CheckYourAnswers.content.json#L7 and https://github.com/hmcts/div-respondent-frontend/blob/401d8984f348ea94390fab52f2a51bd997b71d96/steps/respondent/check-your-answers/CheckYourAnswers.html#L58

image

But when they download their response (generated by div-document-generator-client ) as a PDF, the document includes the declaration:

"I believe the facts stated in this application are true."

undersigned by the respondents name.

image

This is incorrect, since at no point is the respondent asked to declare the application facts are true.

Indeed, respondents may well disagree with the application; they are asked only to acknowledge that they have read it: https://github.com/hmcts/div-respondent-frontend/blob/401d8984f348ea94390fab52f2a51bd997b71d96/steps/respondent/review-application/ReviewApplication.content.json#L58 and https://github.com/hmcts/div-respondent-frontend/blob/401d8984f348ea94390fab52f2a51bd997b71d96/steps/respondent/review-application/ReviewApplication.content.json#L146

I have therefore updated the respondent template to reflect the declaration that respondents have actually made.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • May require a review of all documents generated to date/communication to the courts

How Has This Been Tested?

I have not tested this change as I do not have a suitable development environment. I would welcome assistance from the service team in validating it.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Copy link

@wknoxwalker wknoxwalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic checks out.

@mcoms
Copy link
Author

mcoms commented Feb 2, 2024

Would it be possible to have a review from the service team please @damongreen123, @dawudgovuk, @gmikerlemos, @MindGames2015, @rishikrsharma? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants