Skip to content

t/dao/payment-free-by-total.t emits uninitialized-value warnings (non-pristine output) #269

@perigrin

Description

@perigrin

Pre-existing: the test seeds children => [{ id => ... }] without first_name/last_name (test line ~80), and Registry::DAO::Payment::calculate_enrollment_total interpolates those fields into the line-item description (Payment.pm ~line 373-377), emitting two 'Use of uninitialized value in concatenation' warnings per run. Violates the pristine-output rule. Fix: seed named children in the test, or make the description builder tolerate missing name fields (it arguably should — family_members have no surname field, see the double-space cosmetic in descriptions). Found during the Alex user-journeys work (predates it, commit 6d4444c).

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendBackend/server-side developmentbugSomething isn't workinglowLow complexity implementationlow-impactLow business impact

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions