#83

Clearing of item cache

    • Created on: Wed, Oct 26 2011 (7 months ago)
    • Reported by: Pilus
    • Assigned to: Pilus
    • Milestone: GHI v.1.99.2
    • Bug detected in Version: -
    • Technical Difficulty: Hard
    • Status: Fixed
    • Priority: Normal (3)
    • Component: Renovated Item Data
    • Permission type: Private
    • Type: Improvement
    • Depends on ticket(s): #82
    Item data that is not relevant for the user should be deleted from the item data, before it is loaded.

    Not relevant data is items that fullfills all of the following:
    1. Is of type cusom
    2. Is not present in any bags (including non available)
    3. Is not listed on the depending list in any other item

    The issue will be point 3, as this requires all other items to be loaded. It might be nesecary to first load all and then delete the ones that are not needed
  • Followers
     
    Ico-users Pilus (Assigned To) , Aurorablade 
     
    Attachments
    No attachments
    Associations
     
    No associations
    Activity
     
    User picture

          on Oct 26, 2011 @ 12:44pm UTC * By Pilus

    Status changed from New to Accepted
    User picture

          on Nov 29, 2011 @ 03:15am UTC * By Pilus

    This ticket needs #82 to be complete before it can be done, as items that other items are depending on, can not be deleted, unless that said item is being deleted aswell
    User picture

          on Nov 29, 2011 @ 03:15am UTC * By Pilus

    Depends on ticket(s) set to #82
    Status changed from Accepted to Waiting for other ticket
    User picture

          on Dec 03, 2011 @ 05:02am UTC * By Pilus

    Status changed from Waiting for other ticket to Accepted
    User picture

          on Dec 03, 2011 @ 04:35pm UTC * By Aurorablade

    Assigned to set to Aurorablade
    Status changed from Accepted to In Progress
    User picture

          on Dec 06, 2011 @ 10:27pm UTC * By Pilus

    Just for the sake of having it written down here:

    A possible way to implement it:
    1) Make a list with the itemGuids of all items that exist in containers, named existingItems
    2) Make a list of all itemsGuids that are depending by existingItems or items depending on them. Call the list dependingItems.
    3) Make a list with the itemGuids of all items that does not exist in containers, named nonExistingItems
    4) Clear all the items that are in nonExisitngItems but not in dependingItems.
    User picture

          on Dec 06, 2011 @ 11:11pm UTC * By Aurorablade

    Yeah going to leave it be for now until next milestone may need to move it there, hesitent to outright close the ticket.
    User picture

          on Dec 06, 2011 @ 11:18pm UTC * By Pilus

    Milestone changed from GHI v.1.99.1 to GHI v.1.99.2
    User picture

          on Dec 06, 2011 @ 11:20pm UTC * By Pilus

    Assigned to changed from Aurorablade to -none-
    User picture

          on Dec 06, 2011 @ 11:20pm UTC * By Pilus

    Status changed from In Progress to Accepted
    User picture

          on Dec 27, 2011 @ 01:50am UTC * By Pilus

    Technical difficulty changed from Medium to Hard
    User picture

          on Dec 27, 2011 @ 04:02pm UTC * By Pilus

    Assigned to set to Pilus
    Status changed from Accepted to In Progress
    I will try implementing it, treating the depending items as a tree.
    User picture

          on Dec 27, 2011 @ 06:34pm UTC * By Pilus

    Status changed from In Progress to Ready for Test
    (In revision:547) Ready for Test #83 The item cache should now be cleared as intented.
    User picture

          on Jan 16, 2012 @ 12:18pm UTC * By Pilus

    Status changed from Ready for Test to Fixed
    Sum of Child Work remaining changed from 3.0 to 0.0
    Work remaining changed from 3.0 to 0.0
    Time Expenditure
    Loading