#324

account_map entries per nren must be 1?

    • Status: Test
    • Priority: Normal (3)
    • Component: -
    • Permission type: Private
    • Estimate: None/Small/Medium/Large None
    We ran into the following alert:
    1. 2012-01-31 12:52:59 (Confusa) -= [ ALERT ] =- Too many account-results returned from DB for NREN 4
    for an NREN which had two accounts in account_map. Not sure how those two got there but they've been there for a long time.

    If this alert can be triggered, shouldn't the nren_id attribute in account_map be UNIQUE to prevent this from happening in the first place?
  • Followers
     
    Ico-users henrikau (Assigned To) , thijsk 
     
    Attachments
    No attachments
    Associations
     
    No associations
    Activity
     
    User picture

          on Feb 05, 2012 @ 09:14pm UTC * By henrikau

    Assigned to set to henrikau
    Milestone set to Confusa v0.7.4
    Priority changed from Lowest (5) to Normal (3)
    Sum of Child Work remaining changed from 0.0 to 4.0
    Work remaining changed from 0.0 to 4.0
    User picture

          on Mar 06, 2012 @ 09:52pm UTC * By henrikau

    Status changed from New to Accepted
    User picture

          on Apr 23, 2012 @ 08:23pm UTC * By henrikau

    Sum of Child Work remaining changed from 4.0 to 3.0
    Work remaining changed from 4.0 to 3.0
    Easily reproduces, working to recreate in test-harness and fixing it, should be fairly simple.

    If I'm not mistaken, this bug is a result in an old approach that each NREN could have several accounts to choose from, but after some discussion we decided to only allow '''one''' and then updating that instead.

    What's interesting is the fact that several has snuck in - that should not be possible. I will add that to the list for this one as well
    User picture

          on Apr 23, 2012 @ 09:05pm UTC * By henrikau

    Status changed from Accepted to Test
    Sum of Child Work remaining changed from 3.0 to 2.0
    Work remaining changed from 3.0 to 2.0
    User picture

          on Apr 23, 2012 @ 09:08pm UTC * By henrikau

    Sum of Child Work remaining changed from 2.0 to 1.0
    Work remaining changed from 2.0 to 1.0
    should be fixed by 7f3f3fb87a
    Time Expenditure
    Loading