• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kobotoolbox / kpi / 15879372095
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 25 Jun 2025 03:15PM UTC
Jobs 1
Files 638
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jun 2025 02:37PM UTC coverage: 80.691% (+0.07%) from 80.621%
15879372095

push

github

web-flow
fix(organizations): transfer assets if import updates user DEV-343 (#5857)


### đŸ“Ŗ Summary
Ensure projects are transferred when a user is imported with a new
organization id.


### 💭 Notes
1. Check to make sure we're not transferring a user from one mmo to
another
2. If a row was updated, check to see if the org changed. If it did,
trigger the transfer job and delete the user's previous organization.
This does mean we have to process more rows but that's unavoidable if we
want to catch every user who changed.


### 👀 Preview steps

1. â„šī¸ have an MMO
2. Create a new user 
3. As the new user, create a new project with at least one attachment
and add a few submissions
4. In Django admin, export the OrganizationUser list as a csv
5. Update the organization of the new user to the name of the MMO and
update the organization_id to the id of the MMO
6. Re-import the file
7. Log in as the owner of the MMO and go to Organization projects
8. 🔴 [on main] The new project is not on the list
9. đŸŸĸ [on PR] The new project has been successfully transferred to the
new org
10. đŸŸĸ [on PR] Attachments have been moved over to the MMO owner
11. đŸŸĸ [on PR] In admin, the new user is listed on the Organization page

6122 of 9716 branches covered (63.01%)

18 of 19 new or added lines in 1 file covered. (94.74%)

23155 of 28696 relevant lines covered (80.69%)

0.81 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
83.67
14.97% kobo/apps/organizations/admin/organization_user.py
Jobs
ID Job ID Ran Files Coverage
1 15879372095.1 25 Jun 2025 03:15PM UTC 638
80.69
Source Files on build 15879372095
  • Tree
  • List 638
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 24510a4c on github
  • Prev Build on release/2.025.14 (#15878374274)
  • Next Build on release/2.025.14 (#15883751045)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc