Skip to content

#123 Implement display of row_number parameter for child tasks #155

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

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

Conversation

cnstlungu
Copy link

@cnstlungu cnstlungu commented Jun 3, 2019

Hello everyone,

This is my proposal for the changes. Please peer review and suggest any changes or improvements.

It is my understanding that only RowEntry tasks need a row_number

Short note on how testing was done:

  1. Get a parent task and provide it a number
  2. Verify a child task with the given number is generated and displayed
  3. Fill in child task
  4. Verify data has been inserted in the database

Testing PASSED

TaskOwnedLandRowEntry OK
TaskOwnedAutomobileRowEntry OK
TaskOwnedBankAccountsRowEntry OK
TaskOwnedDebtsRowEntry OK
TaskOwnedIncomeFromPensionsRowEntry OK
TaskOwnedJewelryRowEntry OK
TaskExtraValuableRowEntry OK
TaskOwnedBuildingsRowEntry OK
TaskOwnedIncomeFromInvestmentsRowEntry OK

Testing FAILED due to existing problems:

Kindly let me know if it's OK for me to create bugs for the tasks currently failing that aren't logged as such yet.

Regards
Costin

@RaduCStefanescu
Copy link
Contributor

hey @cnstlungu thank you for the pull request, we are reviewing it and probably will merge it soon. In the mean time, if you would be able to log defects for the issues that are failing the tests, that would be awesome.

@cnstlungu
Copy link
Author

@catileptic @RaduCStefanescu I've sorted out conflicts for this pull request. I've also retested all the tasks. All tasks work now - I can confirm I'm able to fill both RowEntry and Table data and see it pass through to the database together with the row_number. Please peer review.

A couple of more fixes were necessary and introduced:

  • For TaskOwnedInvestmentsOver5K, I've changed get_or_create to use 'beneficiary_name'/'beneficiary_surname' instead of 'name'/'surname' as it was failing.
  • For TaskOwnedIncomeFromOtherSources and TaskOwnedIncomeFromIndependent, I've added row_number (last time was unable to test them since they were failing).

Kindly let me know if there's anything else needed here to get this going forward.

Regards
Costin

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