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
Legal API: Up to date director info not showing up when a new director is being added before filing an AR for imported companies. #26608
Entities - Data MigrationA label to filter on the tickets for the Entities Data Migration effortEntities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2bugSomething isn't working
Describe the bug in the current situation
For the companies that are being imported from Colin, when the user adds a new director before filing the AR, all the current director's info does not show up in the AR.
I'm thinking this is a FE issue. Going to unassign myself from this ticket and leave it with you guys
I see this happening for migrated corps and corps created in modernized system.
For example, I can see that BC1144605 is not loading the 1 director available either when i try to file an AR.
Note that in the case of the migrated corp(BC1344052) and the BEN(BC1144605) created in BR, I can see the expected directors returned in the GET /parties endpoint. I'm assuming the GET /parties endpoint is what the FE is using to load the AR filing.
changed the title [-]Up to date director info not showing up when a new director is being added before filing an AR for imported companies.[/-][+]Filings UI: Up to date director info not showing up when a new director is being added before filing an AR for imported companies.[/+]on Mar 25, 2025
Observe that all the directors list isn't showing up in the AR
That's because the directors "as of 2025-10-21" are fetched for the Annual Report. The API is returning a single director. Probably, if we set the date far back, the API would return all directors appointed since then.
@argush3 It looks like the Legal API isn't correctly finding which directors are valid for the given Annual Report Date.
Per your example, the second director should not be returned since they were appointed on 2025-03-18. which is in the future relative to the AR we are trying to file.
changed the title [-]Filings UI: Up to date director info not showing up when a new director is being added before filing an AR for imported companies.[/-][+]Legal API: Up to date director info not showing up when a new director is being added before filing an AR for imported companies.[/+]on Mar 25, 2025
@severinbeauvais To confirm, Legal API should return directors appointed and not ceased on the date of annual report date instead of filing date, correct? If so, I don't think it's an issue if FE gets directors via businesses/<identifier>/directors?date=<end-date> (Not an issue fot either side)
Here are my testings:
Entities - Data MigrationA label to filter on the tickets for the Entities Data Migration effortEntities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2bugSomething isn't working
Activity
argush3 commentedon Mar 21, 2025
Hey team! Please add your planning poker estimate with Zenhub @chenhongjing @leodube-aot @vishnup0422 @vysakh-menon-aot
argush3 commentedon Mar 21, 2025
@OlgaPotiagalova @riyazuddinsyed @severinbeauvais @vikas-gov
I'm thinking this is a FE issue. Going to unassign myself from this ticket and leave it with you guys
I see this happening for migrated corps and corps created in modernized system.
For example, I can see that BC1144605 is not loading the 1 director available either when i try to file an AR.
Note that in the case of the migrated corp(BC1344052) and the BEN(BC1144605) created in BR, I can see the expected directors returned in the GET /parties endpoint. I'm assuming the GET /parties endpoint is what the FE is using to load the AR filing.
BEN(BC1144605) info:
migrated corp(BC1344052) info:

[-]Up to date director info not showing up when a new director is being added before filing an AR for imported companies.[/-][+]Filings UI: Up to date director info not showing up when a new director is being added before filing an AR for imported companies.[/+]severinbeauvais commentedon Mar 25, 2025
That's because the directors "as of 2025-10-21" are fetched for the Annual Report. The API is returning a single director. Probably, if we set the date far back, the API would return all directors appointed since then.
severinbeauvais commentedon Mar 25, 2025
Same thing for BC1144605.
The "as of" date is the Annual Report Date, as provided by the API in the "2022 Annual Report" task:
severinbeauvais commentedon Mar 25, 2025
@argush3 It looks like the Legal API isn't correctly finding which directors are valid for the given Annual Report Date.
Per your example, the second director should not be returned since they were appointed on 2025-03-18. which is in the future relative to the AR we are trying to file.
[-]Filings UI: Up to date director info not showing up when a new director is being added before filing an AR for imported companies.[/-][+]Legal API: Up to date director info not showing up when a new director is being added before filing an AR for imported companies.[/+]severinbeauvais commentedon Mar 25, 2025
@chenhongjing @riyazuddinsyed Maybe this is working correctly?
chenhongjing commentedon Mar 25, 2025
@severinbeauvais To confirm, Legal API should return directors appointed and not ceased on the date of annual report date instead of filing date, correct? If so, I don't think it's an issue if FE gets directors via
businesses/<identifier>/directors?date=<end-date>(Not an issue fot either side)Here are my testings:
severinbeauvais commentedon Mar 25, 2025
Thanks, Hongjing.
I'm happy to resolve this ticket if Riyaz is OK with that.
I'll set the estimate to "2" to account for our investigative time.