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

Replace hard-coded ': ' by the separator constant in Database activity

XMLWordPrintable

    • MOODLE_500_STABLE
    • MOODLE_501_STABLE
    • MDL-85253-main
    • Hide

      Setup

      1. Create a course C1

      Testing scenario 1: Edit new database title

      1. Create a database D1
      2. Check that the title of the page is "New Database | C1"
      3. Save the database
      4. Edit the database
      5. Check that the title of the page is "D1 | C1"

      Testing scenario 2: RSS page title

      1. Go to Administration >Advanced features
      2. Enable RSS feeds
      3. Go to Administration > Activity modules > Database
      4. Enable RSS feeds (Yes)
      5. Edit the database D1
      6. Set the RSS > Entries in the RSS feed to 4
      7. Use a preset (Journal)
      8. Create an entry
      9. Go to the More menu and follow "RSS feed for this activity"
      10. Check that the title tag has a '|' separator 

      Show
      Setup Create a course C1 Testing scenario 1: Edit new database title Create a database D1 Check that the title of the page is "New Database | C1" Save the database Edit the database Check that the title of the page is "D1 | C1" Testing scenario 2: RSS page title Go to Administration >Advanced features Enable RSS feeds Go to Administration > Activity modules > Database Enable RSS feeds (Yes) Edit the database D1 Set the RSS > Entries in the RSS feed to 4 Use a preset (Journal) Create an entry Go to the More menu and follow "RSS feed for this activity" Check that the title tag has a '|' separator 
    • Hide

      Code verified against automated checks.

      Checked MDL-85253 using repository: https://github.com/laurentdavid/moodle.git

      More information about this report

      Built on: Fri May 9 09:16:32 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-85253 using repository: https://github.com/laurentdavid/moodle.git main (0 errors / 0 warnings) [branch: MDL-85253-main | CI Job ] More information about this report Built on: Fri May 9 09:16:32 UTC 2025
    • Show
      Launching automatic jobs for branch MDL-85253 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/19280/ PHPUnit (sqlsrv / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/65887/ Behat (NonJS - boost and classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/65888/ Behat (Firefox - boost / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/65889/ Behat (Firefox - classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/65890/ App tests (stable app version) / complete) Built on: Mon May 12 14:18:04 UTC 2025
    • 1
    • HQ 2025 Sprint I2 Planning

      In MDL-84805 a new title separator has been created to use instead of the current hard-coded '|' string. 

      We will use the page separator declared as  moodle_page::TITLE_SEPARATOR

        1. image-2025-05-06-17-43-22-172.png
          4 kB
          Laurent David
        2. image-2025-05-06-17-44-01-636.png
          4 kB
          Laurent David
        3. screenshot-1.png
          319 kB
          Laurent David
        4. MDL-85253.png
          513 kB
          Ron Carl Alfon Yu

            laurent.david@moodle.com Laurent David
            amaia Amaia Anabitarte
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Amaia Anabitarte Amaia Anabitarte
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 33 minutes
                3h 33m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.