Feature Wiki

Information about planned and released features

Tabs

IRSS: Migrate Forum-Files to IRSS

This Feature-Request is part of the larger strategy to move all user-uploaded files to the ILIAS Resource Storage Service (see Project: ILIAS Resource Storage Service (IRSS)). Feature requests like this are spin-offs from IRSS: General Overview of Components to Migrate (ongoing).

There are two different approaches:
- Some components used ilObjFile in the past to store files. With ILIAS 7, Files from ilObjFile have been migrated and components using them communicate through a wrapper. These component now must be decoupled from ilObjFile and use the IRSS directly. 
- Some components stored their files on their own in the iliasdata or data Directory. These component should migrate their files to the IRSS using a Setup - Add migrate Command

1 Initial Problem

The Forum object currently stores the user-uploaded files itself in the iliasdata directory (.../frm). These files are to be migrated to the storage service as part of the Project. This is done with the help of a Migrate Commands.

2 Conceptual Summary

With the help of the Migrate Commands, all previously uploaded frm files are migrated to the IRSS. In the process, the newly created ResourceIdentifications are stored in the table "il_frm_data" in a new column "rid".
The object is adapted internally so that newly uploaded files are saved in the IRSS.

Additionally, the form for uploading a new file should be revived to new UI-Form or at least the Uploads must me stored directly in IRSS instead of a FileObject. Downloading of files should use the IRSS directly as well. There is no need to have a fallback or a doubled implementation since all files are already in IRSS with the migration of Fileobjects in ILIAS 7.

3 User Interface Modifications

3.1 List of Affected Views

none

3.2 User Interface Details

none

3.3 New User Interface Concepts

none

3.4 Accessibility Implications

none

4 Technical Information

See above (Table il_frm_data and internal implementation)

5 Privacy

none

6 Security

none

7 Contact

8 Funding

If you are interest in funding this feature, please add your name and institution to this list

9 Discussion

10 Implementation

The Migration has been implemented using the PR https://github.com/ILIAS-eLearning/ILIAS/pull/5093

Test Cases

Covered by the existing test suite

Approval

Approved at {date} by {user}.

Last edited: 18. Oct 2024, 15:53, Kunkel, Matthias [mkunkel]