Tags: unicef/hope
Tags
v4.12 (#5816) * tox fixes * tox -e tests * 301709_Admin_Programme_add_button_to_fetch_findings_from_dedup_engine * flaky tests * test * add ordering * test * 298132: Refactor CreateLaxHouseholds to use HouseholdUploadMixin and manage household ID collisions for RDI imports * Add tests for household collision detection in CreateLaxHouseholds Implemented two new test cases to verify the behavior of the CreateLaxHouseholds endpoint when handling household ID collisions. The tests ensure that existing household IDs are registered correctly in extra_hh_rdis and that no new PendingHousehold records are created when collisions occur. * Refactor CreateLaxHouseholds to streamline household collision handling and improve payload validation Updated the logic in the CreateLaxHouseholds class to enhance the management of household ID collisions and ensure valid payloads are processed correctly. The changes include consolidating error handling and adjusting the flow for adding extra household RDI IDs. * fixes * migrations * more fixes * lint * some fixes * deadlock detected * more fixes ⭐ * revert xfail back * Fix reference to RDI in CreateLaxHouseholds for adding extra household RDIs Updated the logic in the CreateLaxHouseholds class to correctly reference the selected RDI when adding extra household RDIs. This change ensures that the appropriate RDI instance is used, improving the accuracy of household data management. * Resolve tests * Enhance HouseholdUploadMixin to manage collision updates and exclude specific fields Updated the _manage_collision method to handle household data collisions by excluding certain fields from being overwritten. This ensures that critical household information remains intact during updates. Additionally, removed unnecessary assertions from the test suite related to collision detection. * fix api gender * add django_get_or_create * fix * flag False for migration, remove by aliases * test delete by alias * cleanup * IndividualRoleInHousehold ordering * improving tox * fixes to github ci * fix ci * more CI fixes * fix ci * more info * 4.12 * more fixes n+1 * clean up * revert debugging values * lint * 287473_Make_XLSX_entitlement_import_resilient_to_column_reordering (#5795) * part 1 * PeoplePaymentPlansTable, PaymentPlansTable merge * targeting tests * Payments Household Table / Payments People Table * remove payment module duplicated files, target population table * GRV is not closing: fix when only one distinct Ind (#5717) * fix when only one distinct ind * updates * update unit test * tests fixes ::star:: * rdi table * remove empty files * add missing imports targetpopulationspage * fixes labels pp table + feedback table * fix results for people * 166072 payment module possiblity to override unore rate (#5768) * accomodate excludeSection for people * clear cache button and role assigment (#5800) * External collectors in sw programs (#5790) * test fix * dev2stg (#5812) * tp filters cleanup, remove setup fsp related files (#5803) Co-authored-by: Pavlo Mokiichuk <pv.pasha.pv@gmail.com> * fix signals, update tests to test properly (#5809) Co-authored-by: Domenico <ddinicola@unicef.org> --------- Co-authored-by: Maciej Szewczyk <34482854+mmaciekk@users.noreply.github.com> Co-authored-by: Pavlo Mokiichuk <pv.pasha.pv@gmail.com> Co-authored-by: Paulina Kujawa <42150286+pkujawa@users.noreply.github.com> --------- Co-authored-by: Jan Romaniak <jan.romaniak@kellton.com> Co-authored-by: marekbiczysko <marek.biczysko@tivix.com> Co-authored-by: pavlo-mk <pv.pasha.pv@gmail.com> Co-authored-by: Marek Biczysko <34810846+MarekBiczysko@users.noreply.github.com> Co-authored-by: ArsenPidhoretskyi <arsen.pidhoretskyi@valor.com> Co-authored-by: Jan Romaniak <jan.romaniak@tivix.com> Co-authored-by: Sergey Misiuk <sergey.misuk@valor-software.com> Co-authored-by: Paulina Kujawa <p.kujawa2f@gmail.com> Co-authored-by: Maciej Szewczyk <maciej.szewczyk@kellton.com> Co-authored-by: Maciej Szewczyk <34482854+mmaciekk@users.noreply.github.com> Co-authored-by: Paulina Kujawa <42150286+pkujawa@users.noreply.github.com>
PreviousNext