mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59615
[Bug 1892790] [NEW] Google Apps Block unable to parse URL to google drive folder
Public bug reported:
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.
** Affects: mahara
Importance: Undecided
Assignee: Lisa Seeto (lisaseeto)
Status: In Progress
--
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:
In Progress
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
Follow ups
-
[Bug 1892790] Re: Google Apps Block unable to parse URL to google drive folder
From: Robert Lyon, 2020-11-01
-
[Bug 1892790] Re: Google Apps Block unable to parse URL to google drive folder
From: Lisa Seeto, 2020-10-22
-
[Bug 1892790] Re: Google Apps Block unable to parse URL to google drive folder
From: Robert Lyon, 2020-10-22
-
[Bug 1892790] Re: Google Apps Block unable to parse URL to google drive folder
From: Robert Lyon, 2020-10-22
-
[Bug 1892790] Re: Google Apps Block unable to parse URL to google drive folder
From: Robert Lyon, 2020-10-22
-
[Bug 1892790] Re: Google Apps Block unable to parse URL to google drive folder
From: Robert Lyon, 2020-09-06
-
[Bug 1892790] A change has been merged
From: Mahara Bot, 2020-09-06
-
[Bug 1892790] Re: Google Apps Block unable to parse URL to google drive folder
From: Robert Lyon, 2020-09-06
-
[Bug 1892790] A change has been merged
From: Mahara Bot, 2020-09-06
-
[Bug 1892790] A change has been merged
From: Mahara Bot, 2020-09-06
-
[Bug 1892790] A patch has been submitted for review
From: Mahara Bot, 2020-09-01
-
[Bug 1892790] A patch has been submitted for review
From: Mahara Bot, 2020-09-01
-
[Bug 1892790] A patch has been submitted for review
From: Mahara Bot, 2020-09-01
-
[Bug 1892790] Re: Google Apps Block unable to parse URL to google drive folder
From: Kristina Hoeppner, 2020-09-01
-
[Bug 1892790] A change has been merged
From: Mahara Bot, 2020-09-01
-
[Bug 1892790] A patch has been submitted for review
From: Mahara Bot, 2020-08-24