Skip to content

easyiq: bootstrap failure falls back to the pre-#68 behavior for multi-child accounts #73

Description

@nickknissen

When authenticate_easyiq_session cannot produce a child list (_easyiq_children_known stays False), the reads fall back to the old guessed identifiers with no SwitchChild. For a guardian with one child this is harmless and keeps institutions that omit child working, which is why the fallback exists.

For a guardian with several children it reproduces the #68 bug: every child gets whatever the session answers, which can be another child's rows. Wrong data is worse than no data.

Suggestion: gate the fallback on child count. One child, keep the current behavior. Several children, refuse the read with a message saying the portal did not identify the children, instead of showing rows that may belong to a sibling.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions