Bug 1056301 - Using a single quote in a Homepage Content tag causes menu displacement
Summary: Using a single quote in a Homepage Content tag causes menu displacement
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.7
Assignee: Sean Flanigan
QA Contact: Ding-Yi Chen
URL:
Whiteboard:
Depends On: 1198433
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-21 22:57 UTC by Damian Jansen
Modified: 2015-07-22 02:20 UTC (History)
3 users (show)

Fixed In Version: 3.7.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3566)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-22 02:20:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Damian Jansen 2014-01-21 22:57:55 UTC
Description of problem:
If the admin user accidentally does something like
<a href='http://should.be.double.quotes' /> 
when editing their home page code, the actions menu will be pushed under the homepage

Version-Release number of selected component (if applicable):
3.3

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in as admin, click Home button
2. Click Edit Page Code
3. Enter into the field
<a href='http://should.be.double.quotes' />
4. Press Update

Actual results:
Menu is now under the home page area, rather than to the right.
Console shows: Seam Text parse error: expecting a doublequote \", found '''

Expected results:
No change in menu placement

Additional info:
Only seems to affect the application homepage, not the project home pages

Comment 1 Sean Flanigan 2015-05-15 05:02:37 UTC
Eliminating Seam Text should eliminate Seam Text parser errors: https://github.com/zanata/zanata-server/pull/732

Comment 2 Ding-Yi Chen 2015-05-18 07:08:35 UTC
Tested with Zanata 3.7.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3566)

The Seam Text to CommonMark failed to convert the text:
<a href='http://should.be.double.quotes' />

However, it printed 

The following text failed conversion from Seam Text to CommonMark by Zanata.  It may require editing to fix formatting. 

in the about page, which prompt project maintainer to fix.

Comment 3 Ding-Yi Chen 2015-05-18 08:20:45 UTC
VERIFIED with Zanata 3.7.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3566)


Note You need to log in before you can comment on or make changes to this bug.