Closed Bug 831770 Opened 11 years ago Closed 11 years ago

Project Kickoff Form: Legal section - Change to "Business Objective"

Categories

(bugzilla.mozilla.org Graveyard :: Extensions: MozProjectReview, defect)

Production
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: liz, Assigned: dkl)

References

Details

Attachments

(5 files)

Please change "Business Objective" to "What help do you need from Legal?" and then add as explanatory text "Please explain specifically what help you need from Legal. If none, put "No Legal help needed."" And make the field required.
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Change pushed to test instance. Please review.

https://bugzilla-stage.mozilla.org/form.moz.project.review

dkl
Flags: needinfo?(liz)
(In reply to David Lawrence [:dkl] from comment #1)
> Change pushed to test instance. Please review.
> 
> https://bugzilla-stage.mozilla.org/form.moz.project.review
> 
> dkl

Sorry. Actually instead the URL is:

https://bugzilla-stage-tip.mozilla.org/form.moz.project.review

dkl
dkl - when I tried to go to that link, first I got the untrusted warning, and continued past that, but then got this error message:

Bugzilla has suffered an internal error

Can't connect to the database.
Error: Host '10.22.70.211' is not allowed to connect to this MariaDB server
  Is your database installed and up and running?
  Do you have the correct username and password selected in localconfig?
Flags: needinfo?(liz)
(In reply to Liz Compton from comment #3)
> dkl - when I tried to go to that link, first I got the untrusted warning,
> and continued past that, but then got this error message:
> 
> Bugzilla has suffered an internal error
> 
> Can't connect to the database.
> Error: Host '10.22.70.211' is not allowed to connect to this MariaDB server
>   Is your database installed and up and running?
>   Do you have the correct username and password selected in localconfig?

Just realized that myself a little while ago. Filed bug 833514 to see about getting that fixed.

dkl
Depends on: 833514
I just tested it. The field looks fine and the form generated the various bugs, but there was a problem in the legal bug. I'll check the other bugs next. In the legal bug, at the end of the Legal Questions section the following was included:

Vendor Services from Where: Europe

        <select name="legal_vendor_services_where" id="legal_vendor_services_where">
          <option value="">Select One</option>
          <option value="U.S.">U.S.</option>
          <option value="Europe">Europe</option>
          <option value="Canada">Canada</option>
          <option value="Global">Global</option>
          <option value="Another region of the world">Another region of the world</option>
          <option value="A single country">A single country</option>
        </select>
        <br>
        <input class="bz_default_hidden" type="text"
               name="legal_vendor_single_country" id="legal_vendor_single_country" size="60">
      </span>


"Vendor Services from Where: Europe" also showed up above in the normal place.
When I went back to try to check out the other bugs, the tracking bug didn't show any dependent bugs, is that an error? I searched for the other bugs and they all looked fine.
(In reply to Liz Compton from comment #5)
> I just tested it. The field looks fine and the form generated the various
> bugs, but there was a problem in the legal bug. I'll check the other bugs
> next. In the legal bug, at the end of the Legal Questions section the
> following was included:
> 
> Vendor Services from Where: Europe
> 
>         <select name="legal_vendor_services_where"
> id="legal_vendor_services_where">
>           <option value="">Select One</option>
>           <option value="U.S.">U.S.</option>
>           <option value="Europe">Europe</option>
>           <option value="Canada">Canada</option>
>           <option value="Global">Global</option>
>           <option value="Another region of the world">Another region of the
> world</option>
>           <option value="A single country">A single country</option>
>         </select>
>         <br>
>         <input class="bz_default_hidden" type="text"
>                name="legal_vendor_single_country"
> id="legal_vendor_single_country" size="60">
>       </span>
> 
> 
> "Vendor Services from Where: Europe" also showed up above in the normal
> place.

Oops. Sorry my fault. This has now been fixed and new version is available for testing.

(In reply to Liz Compton from comment #6)
> When I went back to try to check out the other bugs, the tracking bug didn't
> show any dependent bugs, is that an error? I searched for the other bugs and
> they all looked fine.

It seemed to work ok for me with a test bug I recently created. I see 4 dependent bugs.

https://bugzilla-stage-tip.mozilla.org/show_bug.cgi?id=686776

dkl
Did your test bug open a legal bug? I didn't see one and it should have since you chose Yes to Separate Party.

I entered a new test bug. The dependent bugs showed up when I opened it, but when I reloaded the page, they were gone. Also, the tracking bug doesn't show up as a blocker in the dependent bugs. Is that just because this is a test bug site?

In the dependent legal bug "Vendor Services from Where: Global" is listed twice. Otherwise, the dependent bugs all looked fine.
(In reply to Liz Compton from comment #8)
> Did your test bug open a legal bug? I didn't see one and it should have
> since you chose Yes to Separate Party.
> 
> I entered a new test bug. The dependent bugs showed up when I opened it, but
> when I reloaded the page, they were gone. Also, the tracking bug doesn't
> show up as a blocker in the dependent bugs. Is that just because this is a
> test bug site?
> 
> In the dependent legal bug "Vendor Services from Where: Global" is listed
> twice. Otherwise, the dependent bugs all looked fine.

Yeah. I just did another one and saw the same positive results:

https://bugzilla-stage-tip.mozilla.org/show_bug.cgi?id=686813

It created all of the bugs including the Legal one and also still had the dependencies once I reloaded the page.

Can you tell me the exact values you are entering for the initial questions section so I can try to reproduce myself?

Sorry for the trouble
dkl
Thanks for trying to figure it out. I don't think I entered the exact same values both times, but I'll submit a new test form and take a screenshot, and if the same thing happens, I'll take before and after screenshots and attach them all to this bug.
Attached file Legal Test Form
I tried to answer so as to open as many bugs and follow up questions as possible. I'll attach a series of screenshots.
Attached file Test form again in PDF
I thought PDFs might be better
Attached file Security Review bug
This and the other generated bugs look OK except that none of them show the tracking bug as a blocker. I can attach screenshots of the other bugs if needed.
Very strange as I just created a new test bug with the exact values you had in your screenshots, and I got the following bug created:

https://bugzilla-stage-tip.mozilla.org/show_bug.cgi?id=686835

On creation it showed the 7 dependent bugs as you show on yours and they were still visible when I reloaded the page. If you go to the page do you see the dependencies as well? If not it may be a permissions issue or something is not right with bugzilla-stage-tip in general that needs to be investigated. I have seen some other oddities as well before this issue and b-s-t was refreshed recently so it may have something to do with it.

dkl
I do see the list of dependent bugs in your master bug. I can't access the legal one, which is a little strange since I'm part of the legal group.
(In reply to Liz Compton from comment #17)
> I do see the list of dependent bugs in your master bug. I can't access the
> legal one, which is a little strange since I'm part of the legal group.

You have been added to the legal group properly now so if you don't mind try one more test and we can close this out if it looks ok.

dkl
Flags: needinfo?(liz)
The change on the form is fine, but Business Objective still shows up in the resulting legal bug rather than what help do you need from legal, and the answer submitted didn't show up in the bug. Please change the field in the bug to "Legal Help Needed Description"

I also noticed a new field "Description" under "Vendor Services from Where." Was that intended to be for the description of help needed? There should just be one field for "Legal Help Needed Description" and Business Objective and Description should be removed.

An unrelated thing I noticed: I said no to Mozilla Data and no to Data Access, but a Privacy-Policy Review bug was generated. I don't think that's supposed to happen.
Flags: needinfo?(liz)
(In reply to Liz Compton from comment #19)
> The change on the form is fine, but Business Objective still shows up in the
> resulting legal bug rather than what help do you need from legal, and the
> answer submitted didn't show up in the bug. Please change the field in the
> bug to "Legal Help Needed Description"
> 
> I also noticed a new field "Description" under "Vendor Services from Where."
> Was that intended to be for the description of help needed? There should
> just be one field for "Legal Help Needed Description" and Business Objective
> and Description should be removed.
> 
> An unrelated thing I noticed: I said no to Mozilla Data and no to Data
> Access, but a Privacy-Policy Review bug was generated. I don't think that's
> supposed to happen.

Sorry for the delay. I have pushed a fix for this issue and before I commit, please give it once more a run through.

https://bugzilla-stage-tip.mozilla.org/form.moz.project.review

dkl
Flags: needinfo?(liz)
Looks great, I think you're ready to commit. Thanks.
Flags: needinfo?(liz)
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bmo/4.0         
modified extensions/MozProjectReview/Extension.pm
modified extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review-legal.txt.tmpl                                                            
modified extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl
modified extensions/MozProjectReview/web/js/moz_project_review.js                                                                          Committed revision 8490.

Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bmo/4.2         
modified extensions/MozProjectReview/Extension.pm
modified extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review-legal.txt.tmpl                                                            
modified extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl
modified extensions/MozProjectReview/web/js/moz_project_review.js                                                                          Committed revision 8567.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: bugzilla.mozilla.org → bugzilla.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: