Skip to content

Instantly share code, notes, and snippets.

@hesco
Created August 15, 2014 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hesco/c77c5d82910a0c1ec29e to your computer and use it in GitHub Desktop.
Save hesco/c77c5d82910a0c1ec29e to your computer and use it in GitHub Desktop.
The screen shots linked here demonstrate my current issue.
The snapshot with real copy is taken from our UAT environment.
http://campaignfoundations.com/system/files/Selection_004.png
The one which displays a numeral 1 in place of the copy is from my local sandbox.
http://campaignfoundations.com/system/files/Selection_005.png
I spent time studying the diff between HEAD and v0.14-5-g22cddff.
They were simple inconsequential changes, most of which came
no where close to the code responsible for these landing pages.
I rolled back to the version currently in UAT without changing this annoying error.
It works in UAT, but is broken in my local sandbox.
The logs for the broken site look like this:
[Thu Aug 14 23:17:19 2014] [info] Listening at "http://*:8009".
[Thu Aug 14 23:17:25 2014] [debug] GET "/".
[Thu Aug 14 23:17:26 2014] [debug] Routing to controller "TFC::LandingPages" and action "please_check_back_soon".
[Thu Aug 14 23:17:26 2014] [debug] TRACE: entering ->please_check_back_soon(), mode: dev, for: 127.0.0.1, referred by:
[Thu Aug 14 23:17:26 2014] [debug] TRACE: exiting ->please_check_back_soon() for: 127.0.0.1
[Thu Aug 14 23:17:26 2014] [debug] Rendering template "landing_pages/please_check_back_soon.html.ep".
[Thu Aug 14 23:17:26 2014] [debug] Rendering template "landing_pages/please_check_back_soon_appeal.html.ep".
[Thu Aug 14 23:17:26 2014] [debug] 200 OK (0.273681s, 3.654/s).
[Thu Aug 14 23:17:26 2014] [debug] Rendering template "version.html.ep".
Both the version number and the copy from the template are being rendered as a '1'.
I figure something is returning true somewhere in each case.
But I am bewildered as to what the issue might be.
Its dogged me for two days now.
I'm tempted to deploy this to UAT to see if its about the difference between this notebook and the server,
but am afraid of propagating this nonsense to where the business stakeholders will see it.
Any thought folks can share on how to identify the issue and resolve it would be greatly appreciated.
Thanks,
-- Hugh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment