Non-core contributed modules

Block: file_manager (MyFiles) - 18STABLE branch not working in Moodle 1.8

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 1.8
  • Fix Version/s: 1.8
  • Component/s: Block: File_manager
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE

Description

The file_manager block (aka MyFiles) is not working with 1.8. It uses several old calls to user_teachers and user_students table. David Tong has supplied some changes to the lib.php print_lib.php and sharing.php files (see attached diff) which I am going to apply to the 18STABLE branch. David also notes that there are places where user.idnumber rather than user.id are used and these will need to be cleaned up. The code in general is very much in need of some attention. Related to discussion at: http://moodle.org/mod/forum/discuss.php?d=91089

Activity

Hide
Anthony Borrow added a comment -

Actually with David's patches, I'm going to downgrade the severity of this since it should be functional but still in need of testing.

Show
Anthony Borrow added a comment - Actually with David's patches, I'm going to downgrade the severity of this since it should be functional but still in need of testing.
Hide
Anthony Borrow added a comment -

David this may be a duplicate of the other one I assigned to you but I figured I would pass it one to you anyway and I can clean up tracker later. Peace - Anthony

Show
Anthony Borrow added a comment - David this may be a duplicate of the other one I assigned to you but I figured I would pass it one to you anyway and I can clean up tracker later. Peace - Anthony
Hide
Charlie Chiu added a comment -

I am new to this tracking process. so please correct me when I am ignorant.

I fellowed the forum to here and check with the cvs.moodel.org for this (file(_manager) blocks update. But the code has not been posted. So, does this means it is not working yet? Should we apply the diff file to the codes in CVS. (I am using 1.9).

Thanks.

Show
Charlie Chiu added a comment - I am new to this tracking process. so please correct me when I am ignorant. I fellowed the forum to here and check with the cvs.moodel.org for this (file(_manager) blocks update. But the code has not been posted. So, does this means it is not working yet? Should we apply the diff file to the codes in CVS. (I am using 1.9). Thanks.
Hide
David Tong added a comment -

Charlie, the fix was applied to 1.8 only. Take the copy of file manager http://www.opensolutionsasia.com/david/file_manager_dwt_18hack_030108.zip, unzip it and copy the files directly to blocks/file_manager. Yes, file_manager 1.8 and 1.9 are the same. No need to uninstall what you have now. If you uninstall file_manager, you have to delete some records from the database manually before you can do a reinstall. Like I said, the fix involves no database changes therefore a direct file copy is good enough to get you the latest working copy of file manager.

Show
David Tong added a comment - Charlie, the fix was applied to 1.8 only. Take the copy of file manager http://www.opensolutionsasia.com/david/file_manager_dwt_18hack_030108.zip, unzip it and copy the files directly to blocks/file_manager. Yes, file_manager 1.8 and 1.9 are the same. No need to uninstall what you have now. If you uninstall file_manager, you have to delete some records from the database manually before you can do a reinstall. Like I said, the fix involves no database changes therefore a direct file copy is good enough to get you the latest working copy of file manager.
Hide
Charlie Chiu added a comment -

Thanks for the prompt response. I believe that the linked file is the same as you posted on http://moodle.org/mod/forum/discuss.php?d=91089. I did follow that thread and posted that at 1.9 I have the same problem of "Links Manager has been disabled" message. So please direct me the direction to fix this problem. Thanks.

Show
Charlie Chiu added a comment - Thanks for the prompt response. I believe that the linked file is the same as you posted on http://moodle.org/mod/forum/discuss.php?d=91089. I did follow that thread and posted that at 1.9 I have the same problem of "Links Manager has been disabled" message. So please direct me the direction to fix this problem. Thanks.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: