Bug 995320

Summary: [Sign up] CAPTCHA is missing
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: DeploymentAssignee: Carlos Munoz <camunoz>
Status: CLOSED NOTABUG QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.0CC: aeng, sflaniga, zanata-bugs
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-10 05:34:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ding-Yi Chen 2013-08-09 04:11:20 UTC
Description of problem:
In Sign Up view, the CAPTCHA does not display.

Version-Release number of selected component (if applicable):
Zanata version 3.0.0-alpha-2-SNAPSHOT (20130809-1309)

How reproducible:
Always

Steps to Reproduce:
1. Go to Sign Up view by clicking "Sign Up"

Actual results:
CAPTCHA is missing, as if the link is broken.


Expected results:
CAPTCHA is shown and readable.


Additional info:

Comment 1 Alex Eng 2013-08-09 04:36:08 UTC
Basically the page can't load up the captcha image in the register page, but locally, it works fine (fedora).
Apparently it only happens in our test machine, which is newly built i believed.

This is the stack trace when I try to access to the image url directly - /zanata/seam/resource/captcha
http://pastebin.com/ihyTcEFR

After searching and follow instructions from - install dejavu* packages in one of our test machine - zanata-fedora
http://stackoverflow.com/questions/4438839/java-on-debian-probable-fatal-error-no-fonts-found

The captcha works after jboss restart. dejavu* are font packages.

Again, not sure if our old test machines already have those packages installed or its something new.

We will need to test our production machines for openId and internal authentication for this bug to make sure the captcha image loads up. Check if the dejavu* packages is installed.

Comment 2 Ding-Yi Chen 2013-08-09 05:15:29 UTC
So the root cause is font package is missing. 

Installation Guide is updated accordingly:

https://github.com/zanata/zanata-server/wiki/Installation-Guide#15-fonts-for-captcha-to-work

Since its a configuration issue, I will close it as NOTABUG.

Comment 3 Sean Flanigan 2013-08-12 02:07:20 UTC
We should keep this open until the puppet scripts have been updated.

Comment 4 Alex Eng 2013-09-10 05:34:21 UTC
Added puppet script to install needed packages.