Closed
Bug 670210
Opened 13 years ago
Closed 13 years ago
"Basic" snippet service tab not showing snippet content preview every time
Categories
(Snippets :: Service, defect, P1)
Snippets
Service
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lforrest, Assigned: osmose)
References
Details
(Whiteboard: [dev])
The Snippet Preview field is blank when you open an existing snippet. There is content within the "Advanced" tab but nothing within the "Snippet Preview" within the basic tab. To reproduce: Open this existing snippet: https://snippets.stage.mozilla.com/admin/homesnippets/snippet/2673/#snippet-basic Or create a new snippet on staging, save it, close it, then open it again.
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → mkelly
Assignee | ||
Comment 1•13 years ago
|
||
This is caused by two separate issues: 1. The basic form purposefully only is able to edit snippets made using the basic form; older snippets that were not made using the form are not recognized as compatible. 2. Because of bug 670207 new snippets don't have an image embedded, and there is a bug where snippets without images are not recognized. #2 is a small bug fix, but for #1, do we want the basic form to be able to edit older snippets? The concern here is that older snippets may be malformed or have small customizations that the basic editor might destroy when loading. Do we still want this?
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•13 years ago
|
||
As per offline discussions, only snippets created by the basic editor will be editable by the basic editor. A fix for editing text-only snippets has been committed and pushed to stage: https://github.com/lmorchard/home-snippets-server/commit/b677bbce34f8f2705893b6b2915ca153172696bc
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 3•13 years ago
|
||
This is happening again, regardless of the fix of the #2 within comment #1. I created a basic snippet, saved it, re-opened, and there was no preview but there was code within the "Advanced" tab. One thing to note: I think the first time I saved it it didn't have a image with it. Not sure if that makes a difference. This also seems to be behaving irregularly - 2 of the 4 snippets I created contained this bug, those other two worked fine.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•13 years ago
|
Severity: normal → major
OS: Mac OS X → All
Priority: -- → P1
Hardware: x86 → All
Whiteboard: [dev]
Assignee | ||
Comment 4•13 years ago
|
||
Laura: Is there a specific snippet you can point me to that is experiencing this issue?
Reporter | ||
Comment 5•13 years ago
|
||
Grrrrr, this is happening again to this snippet: Amazon Kindle "Now you can read your Kindle books in Firefox, thanks to the latest HTML5 capabilities. [https://read.amazon.com|Start reading.]" en-US - 1 Week
Assignee | ||
Comment 6•13 years ago
|
||
The issue appears to be that adding a newline to a snippet causes the basic snippet editor to not recognize the snippet text. Will jump right on it!
Assignee | ||
Comment 7•13 years ago
|
||
This should be fixed in https://github.com/mozilla/home-snippets-server/commit/5c285cd691a6a87392236d2a8aad09849cd8e1e5
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•