You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Investigate: Handling custodialOffice from Put Back On processor #32778
In src/business_filer/filing_processors/put_back_on.py there is a lookup and removal of Custodial Office.
Since those do not apply the PBO doesn't need to handle these (TBD)
Edit:
After looking into a bit some migration/previous-data questions come up that need answering first in terms of business requirement:
If a dissolved company is tombstone migrated in from Colin (or has already been) then it will insert into Lear a custodianOffice row. Then if the company is Put Back On it would remove that Custodial Office (delete row). If we take that away then PBOing a migrated corp would leave the Custodial Office. The current PBO processor removes that custodialOffice row from offices, should that just be left alone then?
Note in a Restoration it implicitly removes any Custodial Office since it deletes offices and only re-adds the known ones from the filing. So there's a minor discrepancy in the 2 filings processors but right now they both would remove a hanging Custodial Office (just the PBO is explicitly referencing it)
changed the title [-]Remove handling custodialOffice from Put Back On processor[/-][+]Investigate: Handling custodialOffice from Put Back On and Restoration processor[/+]on May 15, 2026
changed the title [-]Investigate: Handling custodialOffice from Put Back On and Restoration processor[/-][+]Investigate: Handling custodialOffice from Put Back On processor[/+]on May 15, 2026
Checked prod, there are ~7k custodialOffice rows and basically all of them came from LEAR dissolutions before #3940 (mostly SP/GP, ~147 corps). None came from tombstone migration. It's best to keep the removal in PBO so an active business isn't left with a stale custodial office. Restoration already clears them, so this keeps both filings consistent.
Activity
custodialOfficefrom voluntary dissolution #31659[-]Remove handling custodialOffice from Put Back On processor[/-][+]Investigate: Handling custodialOffice from Put Back On and Restoration processor[/+][-]Investigate: Handling custodialOffice from Put Back On and Restoration processor[/-][+]Investigate: Handling custodialOffice from Put Back On processor[/+]mruff-aeq commentedon Nov 12, 2026
Checked prod, there are ~7k custodialOffice rows and basically all of them came from LEAR dissolutions before #3940 (mostly SP/GP, ~147 corps). None came from tombstone migration. It's best to keep the removal in PBO so an active business isn't left with a stale custodial office. Restoration already clears them, so this keeps both filings consistent.