Last Comment Bug 1241667 - Trying to report a bug traps the user in an infinite loop
: Trying to report a bug traps the user in an infinite loop
Status: RESOLVED FIXED
:
Product: bugzilla.mozilla.org
Classification: Other
Component: General (show other bugs)
: Production
: Unspecified Unspecified
: -- major with 1 vote (vote)
: ---
Assigned To: David Lawrence [:dkl]
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-21 14:50 PST by Nicolas Barbulesco
Modified: 2016-01-28 06:23 PST (History)
1 user (show)
See Also:
Due Date:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
screen-film-bugzilla-infinite-loop-part-1.mp4 (7.52 MB, video/mp4)
2016-01-24 06:48 PST, Nicolas Barbulesco
no flags Details
screen-film-bugzilla-infinite-loop-part-2.mp4 (5.37 MB, video/mp4)
2016-01-24 06:50 PST, Nicolas Barbulesco
no flags Details
1241667_1.patch (3.54 KB, patch)
2016-01-25 15:33 PST, David Lawrence [:dkl]
glob: review+
Details | Diff | Splinter Review

Description User image Nicolas Barbulesco 2016-01-21 14:50:36 PST
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.
Comment 1 User image David Lawrence [:dkl] 2016-01-21 15:49:47 PST
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
Comment 2 User image Nicolas Barbulesco 2016-01-24 06:48:30 PST
Created attachment 8711460 [details]
screen-film-bugzilla-infinite-loop-part-1.mp4
Comment 3 User image Nicolas Barbulesco 2016-01-24 06:50:32 PST
Created attachment 8711461 [details]
screen-film-bugzilla-infinite-loop-part-2.mp4
Comment 4 User image Nicolas Barbulesco 2016-01-24 07:35:43 PST
Please see screen film, in 2 parts.

Thank you.
Comment 5 User image David Lawrence [:dkl] 2016-01-25 15:33:24 PST
Created attachment 8711917 [details] [diff] [review]
1241667_1.patch
Comment 6 User image Byron Jones ‹:glob› [mostly unavailable 2017-01-18] 2016-01-27 21:07:54 PST
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 %]
Comment 7 User image David Lawrence [:dkl] 2016-01-28 06:23:37 PST
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   c3a3873..3ec68d9  master -> master

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