Google drive folders no longer work in Google Apps block
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Undecided
|
Unassigned | ||
15.04 |
Fix Released
|
Undecided
|
Unassigned | ||
15.10 |
Fix Released
|
Undecided
|
Unassigned | ||
16.04 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Related to Bug 1600665, while testing out all the different Google media in the Google Apps block, I noticed that Google "collections" no longer work.
Based on context, and comments in the code, I assume the "Google collections" referred to in the Mahara manual ( http://
Anyway, to replicate:
1. Create a Google Drive folder, like so:
1a. Log in to drive.google.com
1b. Click "New" and then "Folder" to create a new folder.
1c. It will now navigate you into the new folder, so in the nav bar underneath the search bar, you should see "My Drive > Untitled folder" or whatever you named your folder.
1d. In that nav bar, click the little triangle next to your folder's name on "My Drive > Untitled folder". This will open up a menu of options. Select "Get shareable link", and you should get a URL like this: https:/
1e. Alternately, click the little triangle and select "Share", and copy the link there, which will be like this: https:/
2. Log in to Mahara
3. Put a Google Apps block into a page
4. Paste the link from Google Drive into the block.
Expected result: The block displays a folder icon, which if clicked, is a link to the folder.
Actual result: You see this error message in the block: "Unable to parse embedded code or URL: https:/
Changed in mahara: | |
status: | New → Fix Committed |
milestone: | none → 16.10.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/6709