Bug 41832 - BUGZILLAASSISTANT: same origin policy problem prevents user feedback
Summary: BUGZILLAASSISTANT: same origin policy problem prevents user feedback
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: WWW (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other Windows (All)
: medium normal
Assignee: Loic Dachary
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-16 02:55 UTC by Rainer Bielefeld Retired
Modified: 2011-10-21 14:54 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Bielefeld Retired 2011-10-16 02:55:13 UTC
Steps to reproduce:
1. Do all entries for a bug submission
2. Click 'Submit' button
   Expected: some message "Successfully submitted ...."
   Actual: Nothing, form field page remains
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1
Comment 1 Rainer Bielefeld Retired 2011-10-16 02:57:56 UTC
Might have to do with Bugzilla update to 4.0.2?

- Reported with Bug Submission Assistant -
Comment 2 Loic Dachary 2011-10-18 07:00:45 UTC
I installed a placeholder in place of the bug submission assistant to not confuse people. I have tried a few times and had one failure. Examining the iframe content, I found an empty <body></body>. But I also created a few bugs successfully. Researching the source of the problem.
Comment 3 Loic Dachary 2011-10-18 07:31:23 UTC
It always happen when the bug submission assistant is within the get-help/bug iframe. And never when used directly thru https://bugassistant.libreoffice.org/libreoffice/bug/bug.html
Comment 4 Loic Dachary 2011-10-18 07:56:34 UTC
I managed to reproduce the problem in http://dachary.org/loic/libreoffice/bug/frame.html which contains an iframe to https://freedesktop.dachary.org/libreoffice/bug/bug.html
Comment 5 Loic Dachary 2011-10-18 08:28:43 UTC
It is a same origin policy bug that does not prevent the submission of the bug but prevents feedback to happen in the end.
Comment 6 Loic Dachary 2011-10-18 09:34:55 UTC
Setting the document.domain as suggested here:

http://javascript.info/tutorial/same-origin-security-policy
http://stackoverflow.com/questions/1481251/what-does-document-domain-document-domain-do

won't work because it cannot be done in bugzilla itself.
Comment 7 Loic Dachary 2011-10-18 09:49:39 UTC
I think the only viable solution is to ProxyPass https://libreoffice.org/bugassistant/ to http://bugassistant.libreoffice.org/ and replace the iframe so that it uses https://libreoffice.org/bugassistant/
Comment 8 Loic Dachary 2011-10-19 11:53:32 UTC
More information about the solution at http://dachary.org/?p=989
I will ask the system administrators to make the modifications.
Comment 9 Loic Dachary 2011-10-21 14:54:43 UTC
The modification were made and https://www.libreoffice.org/get-help/bug/ is back online.