Closed (fixed)
Project:
@font-your-face
Version:
7.x-2.x-dev
Component:
Code (general)
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2012 at 07:07 UTC
Updated:
2 Oct 2012 at 04:21 UTC
Jump to comment: Most recent file






Comments
Comment #1
Drave Robber commentedWhich submodules were enabled?
I could not quite reproduce this; got a different sort of abnormal behavior though:
(trying to delete a Typekit font; obviously, Local Fonts module should not interfere here)
Comment #2
Drave Robber commentedI more or less figured this out. 'Delete font record' belongs to Local Fonts module (and only local fonts are meant to be deleted this way); however, the button is displayed for all fonts, and trying to delete a Google font can lead to files in the root folder being deleted:
(my sandbox fortunately had better configured file permissions :)
This is a problem with Local Fonts module, looking into it.
Comment #3
Drave Robber commentedPatch attached.
Display 'Delete font record' button only for local fonts; double-check for font provider in local_fonts_delete_font() function.
Comment #4
sreynen commentedWow, that's a pretty huge bug. kervi, thanks for the report and I hope that didn't cause too much trouble for you. Drave Robber, thanks for the quick patch.
Fix committed.
Comment #5
sreynen commentedOops, missed status change.
Comment #6
dgastudio commentedDrave Robber, thank you.
sreynen, you are welcome!