Moodle
  1. Moodle
  2. MDL-34239

Incorrect association after editing a blog entry

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.3.1
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Blog
    • Labels:
    • Testing Instructions:
      Hide

      1) Go to a course and activate editing.
      2) Add a blog menu block.
      3) Configure the block to be displayed on all pages.
      4) Add a new activity to the course, for example an assignment.
      5) Open the module and click "Add an entry about this [module name]" from the blog menu block.
      6) Create a new blog entry. After you have saved the blog entry it should be associated with the activity that you created in step 4.
      7) Click edit on your blog entry and save.
      8) Check that the blog entry is still associated with the same activity that you created in step 4 (not with the course).
      9) Repeat steps 4 to 8, choosing a different activity in step 4.

      Show
      1) Go to a course and activate editing. 2) Add a blog menu block. 3) Configure the block to be displayed on all pages. 4) Add a new activity to the course, for example an assignment. 5) Open the module and click "Add an entry about this [module name] " from the blog menu block. 6) Create a new blog entry. After you have saved the blog entry it should be associated with the activity that you created in step 4. 7) Click edit on your blog entry and save. 8) Check that the blog entry is still associated with the same activity that you created in step 4 (not with the course). 9) Repeat steps 4 to 8, choosing a different activity in step 4.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull Master Branch:
      wip-mdl-34239

      Description

      When updating a blog entry that is associated with a module, Moodle will add an association to the current course.

      1) Go to a course and activate editing.
      2) Add a blog menu block.
      3) Configure the block to be displayed on all pages.
      4) Add a new activity to the course, for example an assignment.
      5) Open the module and click "Add an entry about this [module name]" from the blog menu block.
      6) Create a new blog entry. After you have saved the blog entry it should be associated with the module that you created in step 4.
      7) Click edit on your blog entry and save.
      8) Upon updating your blog entry the blog system have added an association to the course.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Helen Foster added a comment -

            Erik, many thanks for your report and patch.

            I checked blog entries associated to an assignment and a chat and found the same as you i.e. in both cases when you edit them and save, they become associated to the course.

            Show
            Helen Foster added a comment - Erik, many thanks for your report and patch. I checked blog entries associated to an assignment and a chat and found the same as you i.e. in both cases when you edit them and save, they become associated to the course.
            Hide
            Frédéric Massart added a comment -

            Change looks good Raj, pushing for integration.

            Show
            Frédéric Massart added a comment - Change looks good Raj, pushing for integration.
            Hide
            Aparup Banerjee added a comment -

            The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week.

            TIA and ciao

            Show
            Aparup Banerjee added a comment - The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week. TIA and ciao
            Hide
            Rajesh Taneja added a comment -

            Branches re-based.

            Show
            Rajesh Taneja added a comment - Branches re-based.
            Hide
            Dan Poltawski added a comment -

            Integrated, thanks Raj

            Show
            Dan Poltawski added a comment - Integrated, thanks Raj
            Hide
            Adrian Greeve added a comment -

            Many thanks to Fred for helping me find out what the problem was in the issue. Tested. Works. Congrats.
            Test passed

            Show
            Adrian Greeve added a comment - Many thanks to Fred for helping me find out what the problem was in the issue. Tested. Works. Congrats. Test passed
            Hide
            Dan Poltawski added a comment -

            asko, Дзякуй, ধন্যবাদ, Благодаря, Gràcies, 感谢, 謝謝, Hvala, Díky, Tak, Bedankt, Tänan, متشکریم, Salamat, Kiitokset, Merci, Grazas, Danke, Ευχαριστώ, આભાર, תודה, धन्यवाद, Köszönjük, Takk fyrir, Terima Kasih, Grazie, ありがとうございます, Рахмет, សូមអរគុណ, 감사합니다, gratiās, Pateicamies, Ačiū, Благодарам, Tēnā koa, Kia Ora Rawa Atu, आभारी आहोत, Талархал, Takk, Dziękuję, Obrigado, Mulţumesc, Engraziel, Спасибо, Fa'afetai, Хвала, Hvala, ස්තූතියි, Vďaka, Hvala, Mahadsanid, Thanks, Gracias, Tack, Salamat, நன்றி, నెనరులు, ขอบคุณค่ะ!

            Your work has made it into this weeks Moodle release! There are no gold medals available this week - but millions around the world will benefit. Thank you!

            Show
            Dan Poltawski added a comment - asko, Дзякуй, ধন্যবাদ, Благодаря, Gràcies, 感谢, 謝謝, Hvala, Díky, Tak, Bedankt, Tänan, متشکریم, Salamat, Kiitokset, Merci, Grazas, Danke, Ευχαριστώ, આભાર, תודה, धन्यवाद, Köszönjük, Takk fyrir, Terima Kasih, Grazie, ありがとうございます, Рахмет, សូមអរគុណ, 감사합니다, gratiās, Pateicamies, Ačiū, Благодарам, Tēnā koa, Kia Ora Rawa Atu, आभारी आहोत, Талархал, Takk, Dziękuję, Obrigado, Mulţumesc, Engraziel, Спасибо, Fa'afetai, Хвала, Hvala, ස්තූතියි, Vďaka, Hvala, Mahadsanid, Thanks, Gracias, Tack, Salamat, நன்றி, నెనరులు, ขอบคุณค่ะ! Your work has made it into this weeks Moodle release! There are no gold medals available this week - but millions around the world will benefit. Thank you!

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: