Moodle

Still cannot export group events

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.9.2
  • Fix Version/s: None
  • Component/s: Calendar
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

I cannot export group events when I am logged in as a student (the saved .ics file doesn't contains any of the group events). I think I found a solution of this bug, please see this forum thread for the details:
http://moodle.org/mod/forum/discuss.php?d=104196

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

fixed in cvs, thanks!

Show
Petr Škoda (skodak) added a comment - fixed in cvs, thanks!
Hide
Vince Gángó added a comment -

The issue is fixed, but here is the explanation why the original method doesn't work, as Tim asked:

"The + operator appends elements of remaining keys from the right handed array to the left handed, whereas duplicated keys are NOT overwritten." - PHP Manual, Array Operators (http://hu2.php.net/manual/en/language.operators.array.php)

Show
Vince Gángó added a comment - The issue is fixed, but here is the explanation why the original method doesn't work, as Tim asked: "The + operator appends elements of remaining keys from the right handed array to the left handed, whereas duplicated keys are NOT overwritten." - PHP Manual, Array Operators (http://hu2.php.net/manual/en/language.operators.array.php)
Hide
Jerome Mouneyrac added a comment -

I don't see any group event when I export a calendar.

My Test:

  • Login as an admin
  • I go into a course which has no group neither any event
  • I create a new group (add myself and all Moodle users)
  • I create a new group event which started yesterday and finish in 10 years (no repeat)
  • I click on export calendar

My exported calendar file contains:
BEGIN:VCALENDAR

METHOD:PUBLISH

PRODID:-//John Papaioannou/NONSGML Bennu 0.1//EN

VERSION:2.0

END:VCALENDAR

Show
Jerome Mouneyrac added a comment - I don't see any group event when I export a calendar. My Test:
  • Login as an admin
  • I go into a course which has no group neither any event
  • I create a new group (add myself and all Moodle users)
  • I create a new group event which started yesterday and finish in 10 years (no repeat)
  • I click on export calendar
My exported calendar file contains: BEGIN:VCALENDAR METHOD:PUBLISH PRODID:-//John Papaioannou/NONSGML Bennu 0.1//EN VERSION:2.0 END:VCALENDAR
Hide
Jerome Mouneyrac added a comment -

Tested on 1.9 CVS

Show
Jerome Mouneyrac added a comment - Tested on 1.9 CVS
Hide
Petr Škoda (skodak) added a comment -

postponing, sorry

Show
Petr Škoda (skodak) added a comment - postponing, sorry
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 appears to have become inactive and is probably not relevant to 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 appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

People

Dates

  • Created:
    Updated:
    Resolved: