Note: There are a few cases of duplicates in user autocompletion which are being worked on.

Trying to report a bug traps the user in an infinite loop

RESOLVED FIXED

Status

()

bugzilla.mozilla.org
General
--
major
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: Nicolas Barbulesco, Assigned: dkl)

Tracking

Production

Details

Attachments

(3 attachments)

(Reporter)

Description

2 years ago
Hello.

I am at the page developer.mozilla.org/fr/docs/MDN/Feedback 
I follow a link to report a bug: https://bugzilla.mozilla.org/form.mdn 
I choose to report a bug. 
I click Next. 
I "switch to the standard bug entry form". 
I write a summary. 
I click Find similar issues. 
I click My issue is not listed. 

Expected result:

I continue reporting the bug... And I succeed.

Observed result:

I end up back at the beginning: I choose (again) to report a bug... I write again a summary... I am trapped in an infinite loop. I cannot finish reporting the bug. So I give up.

It would be nice to fix this bug. 

Thank you.

Nicolas B.
(Assignee)

Comment 1

2 years ago
I see where this is coming from and will take some factoring to make it work. We force certain bug forms for certain products and Guided is also performing it's own enforcement for certain products. The two forms are conflicting with each other.

Will take a look at this today/tomorrow.

dkl
Assignee: nobody → dkl
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
(Reporter)

Comment 2

2 years ago
Created attachment 8711460 [details]
screen-film-bugzilla-infinite-loop-part-1.mp4
(Reporter)

Comment 3

2 years ago
Created attachment 8711461 [details]
screen-film-bugzilla-infinite-loop-part-2.mp4
(Reporter)

Comment 4

2 years ago
Please see screen film, in 2 parts.

Thank you.
(Assignee)

Comment 5

2 years ago
Created attachment 8711917 [details] [diff] [review]
1241667_1.patch
Attachment #8711917 - Flags: review?(glob)
Comment on attachment 8711917 [details] [diff] [review]
1241667_1.patch

Review of attachment 8711917 [details] [diff] [review]:
-----------------------------------------------------------------

r=glob with fix-on-commit

::: extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl
@@ +71,4 @@
>    }
>  );
>  </script>
> +<script type="text/javascript" src="page.cgi?id=guided_products.js[% format_forced ? '&format_forced=1' : '' %]"></script>

that & needs to be &amp; and this would be better to write as

[% "&amp;format_forced=1" IF format_forced %]
Attachment #8711917 - Flags: review?(glob) → review+
(Assignee)

Comment 7

2 years ago
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   c3a3873..3ec68d9  master -> master
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.