After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 341874 - The detection of http:// misses some common and legal URL's
The detection of http:// misses some common and legal URL's
Status: RESOLVED DUPLICATE of bug 81718
Product: Gnumeric
Classification: Applications
Component: import/export HTML
1.6.x
Other All
: Normal normal
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-05-15 16:07 UTC by Bryce Nesbitt
Modified: 2006-05-16 06:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Created with Gnumeric (9.50 KB, application/vnd.ms-excel)
2006-05-15 19:52 UTC, Bryce Nesbitt
Details
Created with Gnumeric from the .xls (27.85 KB, text/html)
2006-05-15 19:53 UTC, Bryce Nesbitt
Details

Description Bryce Nesbitt 2006-05-15 16:07:32 UTC
Please describe the problem:
http:// detection is messed up

Steps to reproduce:
Create a spreadsheet with the following URL's
   http://www.pathfriends.org/
   http://www.pathfriends.org/scp
   http://www.pathfriends.org/scp/
   http://www.pathfriends.org/scp/join.html

Then save the document as HTML

Actual results:
I'd expect ALL of the URL's to show up as links.  Instead only some do,
inconsistently.  In particular the "http://www.pathfriends.org/scp/" form, which
is technically correct, is ignored.  The trailing "/" is actually part of the
URL, according to w3c standards.

Expected results:


Does this happen every time?


Other information:
Comment 1 Morten Welinder 2006-05-15 18:10:13 UTC
I cannot reproduce this.  Could you please attach a gnumeric file and
the html file generated from it?
Comment 2 Bryce Nesbitt 2006-05-15 19:52:53 UTC
Created attachment 65535 [details]
Created with Gnumeric
Comment 3 Bryce Nesbitt 2006-05-15 19:53:17 UTC
Created attachment 65536 [details]
Created with Gnumeric from the .xls
Comment 4 Andreas J. Guelzow 2006-05-15 20:56:12 UTC
Which version of gnumeric is this? I don't understand why any of them exports. The latex exporter should only export links as links if they are in fact entered as hyperlinks (via insert hyperlink). None of the links seem to be of that kind (unless something gets messed up in the excel export.
Comment 5 Bryce Nesbitt 2006-05-15 21:48:29 UTC
1.6.1, as it says in the bug header.

I dunno about any of what you said: I just entered the URLs and expected consistent behavior.
Comment 6 Andreas J. Guelzow 2006-05-16 00:14:34 UTC
I only saw the 1.6.x...

So you entered the URL's in gnumeric. Saved it as an XL file, reopened it and then exported to HTML?

How did you enter the URL's, simply as text in the cells or as hyperlinks using the "insert hyperlink"?

I am sure that we are really observing a bug with the XL export/import which only becomes visible in the later html export. 

 
Comment 7 Andreas J. Guelzow 2006-05-16 00:27:38 UTC
Our XL export (at least in 1.6.0) looses the hyperlinks. So I suspect that you in fact used "insert hyperlink" to enter a few links. The saved the file as XL. Then reopened it and added some more. Finally you exported as html. Then the just entered ones are exported as links, the older ones just as text. You saved the file as XL again to provide it to us, so all the hyperlinks are gone now.

If this suspicion is correct than this is really  81718

Note that the html exporter simply uses the hyperlink information specified in the gnumeric file. It does not actively try to detect any hyperlinks.
Comment 8 Bryce Nesbitt 2006-05-16 01:28:13 UTC
Yeah, might be.  But it sure creates an inconsistency.  I have no idea how to turn  non-links into links, and links into non-links at this point.

I'd venture to say that, of all the exporters, the HTML one perhaps should be detecting links.  What good is a HTML page if the links don't work?
Comment 9 Andreas J. Guelzow 2006-05-16 06:13:03 UTC
To enter links in a gnumeric cell, right click on the cell and select "Hyperlink".
Since a spread sheet itself can have proper links there is little reason to try to detect whether the cell content happens o resemble a link.

This definitely looks like it is really a duplicate of 81718.

*** This bug has been marked as a duplicate of 81718 ***