Skip to content

BEN correction statement should not show certificate #31259

Closed

Description

@vysakh-menon-aot

Describe the bug in current situation

  • Update code to show NOA only for BEN correction statement
  • Data Fix - Update correction meta_data to include "commentOnly": true, "correctionBenStatement": true
-- Find BEN correction statement filings
select * from filings where filing_type = 'correction' and filing_json->'filing'-> 'header'->>'correctionBenStatement' is not null;

-- Update correction meta_data to include `"commentOnly": true`
update filings set meta_data = jsonb_set(meta_data, '{correction,commentOnly}', 'true') where filing_type = 'correction' and filing_json->'filing'-> 'header'->>'correctionBenStatement' is not null;

-- Update correction meta_data to include `"correctionBenStatement": true`
update filings set meta_data = jsonb_set(meta_data, '{correction,correctionBenStatement}', 'true') where filing_type = 'correction' and filing_json->'filing'-> 'header'->>'correctionBenStatement' is not null;

Link bug to the User Story
Route cause: recent development of https://app.zenhub.com/workspaces/entities---olga-65af15f59e89f5043c2911f7/issues/gh/bcgov/entity/28837

Impact of this bug
Local correction of BEN correction statement will show the Certificate of Incorporation

Activity

  1. added
    bug
    Entities Team
    on Nov 13, 2025
  2. vysakh-menon-aot commented on Nov 13, 2025

    @vysakh-menon-aot
    ContributorAuthor
  3. changed the title [-]BEN correction statement data fix[/-] [+]BEN correction statement should not show certificate[/+] on Nov 13, 2025
  4. vysakh-menon-aot commented on Nov 14, 2025

    @vysakh-menon-aot
    ContributorAuthor

    In Test environment:
    New BEN correction statement: BC1200224
    [Data Fixed] Old BEN correction statement: BC1199671

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Entities TeamPriority1bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions