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
Filings UI: COOP AR filing should reject invalid AGM date #28376
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority3bugSomething isn't workingprod defect
If users use the RCM rules (Rules of Common Sense) this might not be a real pressing issue.
Do we have the cycles now to put a significant amount of effort into COOP work?
NOTE for Everyone
If the users make an honest mistake entering the first AGM date, and then enter a second AGM date conflicting with the first one, the filing would be blocked, and it would result in an Ops ticket.
================================================================================
As you can see, the AR filing year is provided. However, there is no check that this is valid. This may result in something like this:
As you can wee, the 2022 AR reports an effective date of Apr 4, 2023, while the 2023 AR reports an effective date of Mar 1, 2023 -- one month earlier. This is clearly invalid.
A check should be implemented in the AR filing (UI) to prevent an invalid filing year in the URL.
changed the title [-]Filings UI: AR filing should reject invalid AR [/-][+]Filings UI: AR filing should reject invalid AR filing date[/+]on May 9, 2025
changed the title [-]Filings UI: AR filing should reject invalid AR filing date[/-][+]Filings UI: AR filing should reject invalid AR Filing Year[/+]on May 9, 2025
changed the title [-]Filings UI: AR filing should reject invalid AR Filing Year[/-][+]Filings UI: COOP AR filing should reject invalid AR Filing Year[/+]on May 15, 2025
changed the title [-]Filings UI: COOP AR filing should reject invalid AR Filing Year[/-][+]Filings UI: COOP AR filing should reject invalid AGM date[/+]on May 29, 2025
@bobdev-94 , please check if you can reproduce this, and try to determine why the UI allows it. Is a check missing? Is Legal API not providing a needed value? Etc.
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority3bugSomething isn't workingprod defect
Activity
severinbeauvais commentedon May 9, 2025
@vysakh-menon-aot Any idea how the Legal API allowed an invalid AR effective date? Do we need a Legal API ticket to catch this?
[-]Filings UI: AR filing should reject invalid AR [/-][+]Filings UI: AR filing should reject invalid AR filing date[/+][-]Filings UI: AR filing should reject invalid AR filing date[/-][+]Filings UI: AR filing should reject invalid AR Filing Year[/+]vysakh-menon-aot commentedon May 9, 2025
We need to investigate this. We have validation in legal-api (https://github.com/bcgov/lear/blob/main/legal-api/src/legal_api/services/filings/validations/annual_report.py#L53), not sure how it got processed
[-]Filings UI: AR filing should reject invalid AR Filing Year[/-][+]Filings UI: COOP AR filing should reject invalid AR Filing Year[/+]vikas-gov commentedon May 15, 2025
@Mihai-QuickSilverDev to review and confirm the expectation for AR filing dates for coops.
[-]Filings UI: COOP AR filing should reject invalid AR Filing Year[/-][+]Filings UI: COOP AR filing should reject invalid AGM date[/+]severinbeauvais commentedon Jun 2, 2025
@bobdev-94 , please check if you can reproduce this, and try to determine why the UI allows it. Is a check missing? Is Legal API not providing a needed value? Etc.
severinbeauvais commentedon Jun 6, 2025
Bobby, were you able to reproduce this?
bobdev-94 commentedon Jun 12, 2025
Hi @severinbeauvais
I was able to reproduce this issue, and fixed it in the UI.
If you are okay, I am going to create the PR
severinbeauvais commentedon Jun 12, 2025
Yes, please create a PR.
riyazuddinsyed commentedon Jun 25, 2025
Working as expected, verified in test. Identifier used: CP3545836.
