Moodle

Adding a blog entry moves one out of course

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.6.6, 1.7.4, 1.8.5, 1.9.1
  • Fix Version/s: None
  • Component/s: Blog
  • Labels:
    None
  • Affected Branches:
    MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

Description

When I am inside a course on the blogs page and then click on "Add a new entry" I am forwarded to the blogs page at the site level.

Issue Links

Activity

Hide
Gustav W Delius added a comment -

I just had a look at the code in blog/edit.php. The code that was supposed to redirect to the appropriate course after editing has been commented out for debugging purposes. Whoever did the debugging apparently forgot to remove that.

However I don't think the code that is there is the most sensible. Use should be made of the new $COURSE global.

Show
Gustav W Delius added a comment - I just had a look at the code in blog/edit.php. The code that was supposed to redirect to the appropriate course after editing has been commented out for debugging purposes. Whoever did the debugging apparently forgot to remove that. However I don't think the code that is there is the most sensible. Use should be made of the new $COURSE global.
Hide
Mathieu Petit-Clair added a comment -

This is quite old, and 1.6.1 is quite old too. The blogs are (by design) out of courses and at "site level". MDL-9882 could possibly help resolve part of this (make it less confusing), but really, it's by design.

Show
Mathieu Petit-Clair added a comment - This is quite old, and 1.6.1 is quite old too. The blogs are (by design) out of courses and at "site level". MDL-9882 could possibly help resolve part of this (make it less confusing), but really, it's by design.
Hide
Mathieu Petit-Clair added a comment -

Confirmed to still be present in all versions.

Show
Mathieu Petit-Clair added a comment - Confirmed to still be present in all versions.
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Michael de Raadt added a comment -

I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it has become inactive and does not appear to affect a current supported version. If you are encountering this problem or one similar, please launch a new issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: