mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59871
[Bug 1892790] Re: Google Apps Block unable to parse URL to google drive folder
** Changed in: mahara/20.04
Status: Confirmed => Fix Committed
** Changed in: mahara/20.10
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1892790
Title:
Google Apps Block unable to parse URL to google drive folder
Status in Mahara:
Fix Committed
Status in Mahara 19.04 series:
Fix Committed
Status in Mahara 19.10 series:
Fix Committed
Status in Mahara 20.04 series:
Fix Committed
Status in Mahara 20.10 series:
Fix Committed
Bug description:
Google Drive URLs aren't parsed correctly any more and don't display
the Google Drive folder icon (or whatever needs to be displayed).
For example, the folder https://drive.google.com/drive/folders/0B-V_s
... 00Y2JmLTkwNjUtZGM0ODJiZGNjYWEy has been shared publicly but on
MyPortfolio (and also master) it only displays:
"Unable to parse embedded code or URL:
https://drive.google.com/drive/folders/0B-V_s ...
0Y2JmLTkwNjUtZGM0ODJiZGNjYWEy"
To replicate:
1. Log in and create a page and select to create a "Google Apps" block
2. In the "Embed code or URL" put the above url and save the block.
Expected results:
The block displays with icon etc... correctly
Actual results:
The block displays with "Unable to parse embedded code or URL: https://drive.google.com/drive/folders/0B-V_s9Ys157uZmFkY2RlOWMtNGY4Yy00Y2JmLTkwNjUtZGM0ODJiZGNjYWEy "
Our regex is failing to parse this pattern and we'll need to add to it
while keeping any necessary previous patterns for backwards
compatibility.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1892790/+subscriptions
References