Bug 42156 - BUGZILLAASSISTANT: Broken Links on the bug report page
Summary: BUGZILLAASSISTANT: Broken Links on the bug report page
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: WWW (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Loic Dachary
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-24 03:44 UTC by Rainer Bielefeld Retired
Modified: 2011-12-23 17:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (29.45 KB, image/png)
2011-10-25 05:08 UTC, Rainer Bielefeld Retired
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Bielefeld Retired 2011-10-24 03:44:35 UTC
I found Neva Areilnam's posting on <website@global.libreoffice.org> and post it here without checking:

There are two broken or misdirected links:
1.) The link entitled "bugzilla account" listed as part of the sentence
"Please login using your bugzilla account."
What URL does the link point to:
    <https://www.libreoffice.org/>
What is expected:
    That clicking on this link would take me to a bugzilla login page.
What happens when clicking on the link:
    It opens the home page for libreoffice.org in the current frame.

2.) The link entitled "create an account" listed underneath the Sign in button.
What URL does the link point to:
    <https://www.libreoffice.org/enter_bug.cgi>
What is expected:
    That it would take me to a page where I can create a bugzilla
    account.
What happens when clicking on the link:
    Page Not Found
    Sorry, the page you tried to visit was not found.
Comment 1 Rainer Bielefeld Retired 2011-10-24 04:03:08 UTC
REPRODUCIBLE!

Link in "Please login using your bugzilla account" wrongly leads to <https://www.libreoffice.org/>
An appropriate link for a login might be 
<https://bugs.freedesktop.org/query.cgi?format=specific&field0-0-0=xyzzy&GoAheadAndLogIn=1> (I did not check all possible cases)

Link in "or create an account"  leads to 
<https://www.libreoffice.org/enter_bug.cgi>
A better link might be <https://www.libreoffice.org/bugzilla/createaccount.cgi>  (I did not check all possible cases)

@Loic:
can you please proceed?

May be you can create in the Wiki (or show me) a short manual how to do such minor changes like modifying links, smaller text changes and similar what do not require developer skills?
Comment 2 Loic Dachary 2011-10-24 09:28:32 UTC
The href in the signin page are created using the $.bug.url prefix, which may be different from / It was previously assumed that the bug submission assistant runs as a standalone server and / was bugzilla. All references have been made relative to the $.bug.url but these being hardcoded in the bugt.xhtml file were overlooked.

http://cgit.freedesktop.org/libreoffice/website/commit/?id=5c51c26990b27e262fbe8768d82ee66d1f5028b0
Comment 3 Loic Dachary 2011-10-24 09:31:06 UTC
@Rainer

http://wiki.documentfoundation.org/Bug_Submission_Assistant#Installation_and_maintainance

has instructions on how to update the bug submission assistant page. The implementation is documented at
http://wiki.documentfoundation.org/Bug_Submission_Assistant#Implementation

It is often non trivial to figure out what should be hardcoded and what should not. In this specific case, hardcoding the URLs of the signup state was a mistake that had to be fixed and the modification was not trivial. But not complex either.
Comment 4 Korrawit Pruegsanusak 2011-10-25 01:00:55 UTC
Regarding the first link, 'Please login using your bugzilla account.', I'm not sure it should link to which page, since this bugzilla doesn't have the real login page.

So, I propose to just use the word 'bugzilla' as a link, and then link to the first page (as it is currently). This is to tell the users 'in which bugzilla you have to log into'.

Suggestions? Please feel free to comment :D
Comment 5 Rainer Bielefeld Retired 2011-10-25 05:08:44 UTC
Created attachment 52734 [details]
Screenshot

@Korrawit Pruegsanusak: 
The reason to suggest <https://bugs.freedesktop.org/query.cgi?format=specific&field0-0-0=xyzzy&GoAheadAndLogIn=1> for login was that that was the most prominent login I know, pls see screenshot. The link in "... create an account" shows the same result and seems better for this job (more simple link).

To me the currently used <https://www.libreoffice.org/bugzilla/> seems to be not very (beginner) user friendly, it only shows the word "login" at the top of the page.

The link in "... create an account" IMHO is not a very good solution. Why do we do that detour although <https://www.libreoffice.org/bugzilla/createaccount.cgi> does exist?
Comment 6 Korrawit Pruegsanusak 2011-10-29 09:21:49 UTC
(In reply to comment #5)
> The reason to suggest
> <https://bugs.freedesktop.org/query.cgi?format=specific&field0-0-0=xyzzy&GoAheadAndLogIn=1>
> for login was that that was the most prominent login I know, pls see
> screenshot. The link in "... create an account" shows the same result and seems
> better for this job (more simple link).

I appreciate your comments, but I'm not sure why do we have to provide a link to the login page if we have one in the BSA? This is the reason of my suggestions.

> To me the currently used <https://www.libreoffice.org/bugzilla/> seems to be
> not very (beginner) user friendly, it only shows the word "login" at the top of
> the page.

Yes :D

> The link in "... create an account" IMHO is not a very good solution. Why do we
> do that detour although
> <https://www.libreoffice.org/bugzilla/createaccount.cgi> does exist?

I've already email Loic regarding this.
Comment 7 Korrawit Pruegsanusak 2011-11-28 06:43:25 UTC
(In reply to comment #5)
> The link in "... create an account" IMHO is not a very good solution. Why do we
> do that detour although
> <https://www.libreoffice.org/bugzilla/createaccount.cgi> does exist?

FYI, this is fixed. Thanks Loic for getting it into the server!

http://cgit.freedesktop.org/libreoffice/website/commit/?id=535d0a62962dab98fe4ec6caecd063890496bf01