Closed Bug 1222060 Opened 9 years ago Closed 7 years ago

Search Box Broken In Preview Looks Fine On Production

Categories

(Snippets Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bensternthal, Assigned: ckprice)

Details

Attachments

(1 file)

When previewing certain snippets the search button looks broken. This does not occur on production.

Please see attached screenshot. Left is dev, right is prod. Note the JS error 

> ContentSearchUIController is not defined.

Is it possible this hook is not available when using preview and is therefore interrupting the rendering of the page?
(In reply to Ben (:bensternthal) from comment #0)
> Created attachment 8683744 [details]
> Screen Shot 2015-11-05 at 8.51.35 AM.png
> 
> When previewing certain snippets the search button looks broken. This does
> not occur on production.
> 
> Please see attached screenshot. Left is dev, right is prod. Note the JS
> error 
> 
> > ContentSearchUIController is not defined.
> 
> Is it possible this hook is not available when using preview and is
> therefore interrupting the rendering of the page?

Yes so, ContentSearchUIController is not available in preview mode. I am thinking that, below the line that throws the error, the JS adds a class that triggers the correct styling.

And so yes, on production this will be just fine as it actually runs in the context of about:home
This is my experience as well.
This is a valid bug that we won't be fixing because we're moving to Activity Stream which has another preview page where this does not apply. Thank you for the report!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: Snippets → Snippets Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: