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

Undefined property when userwatermarks is not set (editing only)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.3.8, 2.4.5, 2.5.1
    • Component/s: Repositories
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Enable Flickr Public and WebDAV
      2. Create and then edit a course instance of both (Alternatively tick and untick the watermark checkbox)
      3. Make sure you don't see any notice during the process
      4. Create and then edit a system instance (Alternatively tick and untick the watermark checkbox)
      5. Make sure you don't see any notice during the process
      Show
      Enable Flickr Public and WebDAV Create and then edit a course instance of both (Alternatively tick and untick the watermark checkbox) Make sure you don't see any notice during the process Create and then edit a system instance (Alternatively tick and untick the watermark checkbox) Make sure you don't see any notice during the process
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-39640-master-int

      Description

      When editing / updating a Flickr public repository, if Add watermark to photos is left unchecked you get the following notice:

      Notice: Undefined property: stdClass::$usewatermarks in /home/adrian/moodles/stable_master_postgres/moodle/repository/manage_instances.php on line 182 
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              abgreeve Adrian Greeve
              Peer reviewer:
              Rajesh Taneja
              Integrator:
              Damyon Wiese
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Jul/13