You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/11/12 04:53:53 UTC
[Bug 121343] New: Writer does not properly format hyperlink text on
page
https://issues.apache.org/ooo/show_bug.cgi?id=121343
Priority: P3
Bug ID: 121343
Assignee: ooo-issues@incubator.apache.org
Summary: Writer does not properly format hyperlink text on page
Severity: normal
Issue Type: DEFECT
Classification: Application
OS: Windows XP
Reporter: msakallah@gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: AOO 3.4.1
Component: ui
Product: word processor
Issue:
OO Writer does not properly format hyperlink text on page if value for TARGET
field under Hyperlink if is too long and above certain length. While testing,
the field can accept up to 65534 characters. However, it will fail to display
hyperlink on the page if the TARGET string is 65527 characters or longer
Steps to Reproduce:
In the Target field under Hyperlink, input a string with 65527 characters in
length, then click on Apply
Expected Behavior:
Hyperlink will display properly formatted on page as http://<string>, where
<string> is the inputted string in TARGET field
Actual Behavior:
Hyperlink does not display
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 121343] Writer does not properly format hyperlink text on page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
--- Comment #6 from Andrew_M_Freyman@Progressive.com ---
Created attachment 81628
--> https://issues.apache.org/ooo/attachment.cgi?id=81628&action=edit
Success case for forward slash within 65527 long string
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
[Issue 121343] Writer does not properly format hyperlink text on
page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
Edwin Sharp <el...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needmoreinfo
Status|RESOLVED |REOPENED
Resolution|NOT_AN_ISSUE |---
Ever confirmed|0 |1
--- Comment #11 from Edwin Sharp <el...@apache.org> ---
Please attach example.
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Bug 121343] Writer does not properly format hyperlink text on page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
Andrew_M_Freyman@Progressive.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Andrew_M_Freyman@Progressiv
| |e.com
--- Comment #4 from Andrew_M_Freyman@Progressive.com ---
Created attachment 81626
--> https://issues.apache.org/ooo/attachment.cgi?id=81626&action=edit
Source document with 65527 characters used for testing
I was able to reproduce this issue in certain scenarios.
OpenOffice.org Writer 3.4.1
AOO341m1(Build:9593) - Rev. 1372282
Windows 7 Home Premium, Service Pack 1
1. Open Writer blank document
2. Click Hyperlink button on toolbar or click Insert-->Hyperlink from menu
3. Delete any value or whitespace in Target text box if there is any
4. Copy Target value from source document (my source document is attached, I
used this document to change the Target value for the scenarios listed below)
5. Paste [value] into Target field (actual values I used listed below)
6. The Target text box shows as blank white, but the cursor location being at
the end of the text box and ability to arrow left and right within the text box
indicate that some value has been pasted.
7. Click Apply
When the issue is reproduced, the program appears to do nothing and continues
to display the Hyperlink box, so attaching a document that "doesn't work" is
the same as attaching a blank document. Values that reproduced the issue (to
be used in step 5 above):
1. 65527 character string of the repeating letter 'a'
- Confirmed that repeating 'a' string of 65526 characters works as expected,
although it does add a forward slash on the end, something it doesn't seem to
do for scenarios 4 and 5 below [attached]
2. aaa-aaaaaaaaa... (same as #1 except fourth character is a dash)
3. aaa.aaaaaaaaa... (same as #1 except fourth character is a period)
Values that did not reproduce the issue:
4. www.test.com/aaaaaa... ('a' is repeating to fill up 65527 total characters)
- Result as expected: Link reading http://www.test.com/aaaaaa...
5. aaa/aaaaaaaaa... (same as #1 except fourth character is a forward slash)
- Result as expected: Link reading http://aaa/aaaaaaaaa...
Value that produced a different issue:
6. aaa?aaaaaaaaa... (fourth character is a question mark) [attached]
- Result missing the 'http://': Link reading aaa?aaaaaaaa...
While the HTTP protocol does not place a limit on the length of a URI
(http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html), there are many reasons
why the majority of web URLs are not likely to be this lengthy, here’s a few
(http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers):
1. Search giant Google will not index URLs over 2047 characters, and
technically only 1855 characters results in a URL that works in Google search
results (research from 2010)
2. Internet Explorer 10’s address bar will only accept and display 2083
characters, although you can still click a URL that is longer.
3. Servers and browsers have the ability to limit the acceptable length of the
URL
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
[Bug 121343] Writer does not properly format hyperlink text on page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
Rob Weir <ro...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
--- Comment #1 from Rob Weir <ro...@apache.org> ---
Would it be possible to attach your test document, ideally one that shows 65526
characters working correctly and 65527 characters not working?
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 121343] Writer does not properly format hyperlink text on page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
--- Comment #5 from Andrew_M_Freyman@Progressive.com ---
Created attachment 81627
--> https://issues.apache.org/ooo/attachment.cgi?id=81627&action=edit
Success case fpr 65526 character string
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
[Bug 121343] Writer does not properly format hyperlink text on page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arielch@apache.org
--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> ---
(In reply to comment #0)
> Issue:
> OO Writer does not properly format hyperlink text on page if value for
> TARGET field under Hyperlink if is too long and above certain length. While
> testing, the field can accept up to 65534 characters.
This is one of the string classes used internally, it can hold only up to
STRING_MAXLEN, defined in tools/inc/tools/string.hxx
--
You are receiving this mail because:
You are the assignee for the bug.
[Issue 121343] Writer does not properly format hyperlink text on
page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
Edwin Sharp <el...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |elish@apache.org
Resolution|--- |NOT_AN_ISSUE
--- Comment #9 from Edwin Sharp <el...@apache.org> ---
Not a real life scenario.
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Bug 121343] Writer does not properly format hyperlink text on page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
Javier Lopez <xa...@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xavi_dandy@hotmail.com
--- Comment #3 from Javier Lopez <xa...@hotmail.com> ---
Hello.
I have been watching this bug reported and I created the file when your steps
but the hyperlink is correct. The bug was checked in the platform W7 64BITS AOO
3.4.1 and I was not found it.
Could you give the hyperlink that you used or attach a document?
--
You are receiving this mail because:
You are the assignee for the bug.
[Issue 121343] Writer does not properly format hyperlink text on
page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
--- Comment #10 from Mohanned Sakallah <ms...@gmail.com> ---
(In reply to Edwin Sharp from comment #9)
> Not a real life scenario.
May be true. But I can happen. And MS Office and similar Apple products(Page,
Word) don't have or exhibit this issue.
I really encourage you to resolve this issue. Even if you think its not a "real
life" scenario.
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.
[Bug 121343] Writer does not properly format hyperlink text on page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
--- Comment #8 from Andrew_M_Freyman@Progressive.com ---
Created attachment 81630
--> https://issues.apache.org/ooo/attachment.cgi?id=81630&action=edit
Success case for typical web address format
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
[Bug 121343] Writer does not properly format hyperlink text on page
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=121343
--- Comment #7 from Andrew_M_Freyman@Progressive.com ---
Created attachment 81629
--> https://issues.apache.org/ooo/attachment.cgi?id=81629&action=edit
Success case for question mark within 65527 character string
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.