Messages in forums are not exported when archiving a site

Description

When archiving a site , messages inside forums are not exported, just the forums themselves and their discussions are exported to the XML file.

In the files attached it can be seen:

  • A site with one forum, one discussion in the forum and one message in the discussion.

  • The output log after archiving the site.

  • The message-forum resulting XML of the archiving process.

In the XML there are no messages, so after exporting and importing a site, the messagges of the forums are lost.

Attachments

4

Activity

Show:

Miguel Pellicer June 29, 2020 at 1:05 AM

I've been working on and is very related to this change, unfortunately, I didn't have enough time to manage a proper solution:

https://github.com/sakaiproject/sakai/pull/7232/files#diff-4ff62eb651b6525ad6c6bb8a38fce446R55

When the topics associated to the groups are created, they are not linked to the membership items so they get the default permissions.

This does not happen to Forums, only the topics.

After editing the topic settings and saving again, a new set of permissions are correctly created and linked to the topics, but the old permissions are not updated nor removed generating extra rows in the table.

Miguel

Sam Ottenhoff June 26, 2020 at 3:15 PM

These two commits look pretty good but they appear to have caused an important regression when automatically assigning groups to topics. Can you please check SAK-43078? If we can't fix the issue, we may need to look to revert these commits.

Andrea Schmidt February 29, 2020 at 6:19 AM

Verified on 19x: https://qa19-mysql.nightly.sakaiproject.org/, build: da9c719e

Sam Ottenhoff November 20, 2019 at 9:48 AM

It looks like a bug was found from this code:

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created August 2, 2019 at 3:56 AM
Updated June 29, 2020 at 1:05 AM
Resolved September 16, 2019 at 10:02 AM