Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1413

Max Cache Size should reflect change when user Resets Cache Preferences

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      See Cache testing module:
      https://wiki.transvar.org/display/ITD/Cache

      See Perferences > Cache

      The button to Reset Cache Preferences does seem to be working, but the new Max Cache Size is not reflected in the window.

      To reproduce this:
      Clear the cache using the Clear All button.
      Set the Max Cache Size to 15 MB
      Go to A thaliana, and select Load Sequence.
      A window will ask if you want to cache the sequence, say yes.
      A window will ask if you want to increase the max cache size, say no.
      Go to the Cache preferences, notice that there is no new entry, because there was not enough room to cache the A thaliana sequence.
      Click Reset Cache Preferences.
      Notice that the value in the text box for Max Cache Size does not change.
      Go to the A thaliana genome again, and select Load Sequence.
      If a window appears asking if you would like to cache it, say yes.
      Notice there is NO window saying that you should increase the Max Cache Size.
      Notice that now, the Max Cache Size displays its original value, 2048.

      If you change the Max Cache Size, then Reset it, then hit refresh, the value is updated.

      The value in the text box should be updated when the Reset button is pushed.

        Attachments

          Activity

            People

            • Assignee:
              prutha Prutha Kulkarni (Inactive)
              Reporter:
              ieclabau Ivory Blakley (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: