Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46739

Allow to store long user preferences

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.7.1
    • Fix Version/s: None
    • Component/s: General
    • Labels:
    • Testing Instructions:
      Hide
      1. Generate over 140 courses and enrol one user in them
      2. As this user go to "My home" page, click to customose the page, try to resort courses
      3. Refresh the page and make sure that custom order is preserved
      4. Click to view all your courses
      5. try to resort courses (change sequence of some courses in the very end of the list)
      6. Refresh the page and make sure that custom order is preserved
      7. Open user preferences and make sure this user has a preference with value over 1333 chars
      Show
      Generate over 140 courses and enrol one user in them As this user go to "My home" page, click to customose the page, try to resort courses Refresh the page and make sure that custom order is preserved Click to view all your courses try to resort courses (change sequence of some courses in the very end of the list) Refresh the page and make sure that custom order is preserved Open user preferences and make sure this user has a preference with value over 1333 chars
    • Affected Branches:
      MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Even though IT IS NOT RECOMMENDED TO STORE LARGE AMOUNT OF DATA IN USER PREFERECES, we tend to run out of space (see MDL-43739 and MDL-30668), which results in fatal errors. The solution to split the user preference into smaller chunks (for example in MDL-30668 we now store one value per course) only increases the session size. We need to be able to store larger user preferences.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              marina Marina Glancy
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              5 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: