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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to