[ 
https://issues.apache.org/jira/browse/NETBEANS-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426587#comment-16426587
 ] 

Jaroslav Tulach edited comment on NETBEANS-491 at 4/5/18 7:52 AM:
------------------------------------------------------------------

I believe I designed the system to be fully configurable online. E.g. you guys 
should be able to disable exception reporter for NetBeans 8.2 or older versions 
of the IDE as well. It may be good idea to read the architecture description 
for the uihandler module. Jirko, Reema, please find it here:

[https://github.com/apache/incubator-netbeans/blob/master/uihandler/arch.xml]

As far as I can tell, there is the ERROR_URL which is then branded by
{code:java}
ide.branding/uihandler/src/org/netbeans/modules/uihandler/Bundle_nb.properties:ERROR_URL=https://netbeans.org/nonav/uigestures/error2.html
{code}
E.g. if you change the [http://netbeans.org/nonav/uigestures/error2.html] page 
and remove the submit button, no reporting shall happen. There is currently:
{code:java}
<form action="http://statistics.netbeans.org/analytics/upload.jsp"; 
method="post">
    <input type="hidden" name="submit" value="&amp;Send" 
alt="reportDialog"></input>
    <input type="hidden" name="view-data" value="&amp;View Data" align="left" 
alt="&amp;Hide data"></input>
    <input type="hidden" name="exit" value="Cancel"></input>
</form>{code}
 In the above page. The description of the behavior of these buttons seems to 
be at line 148: 
[https://github.com/apache/incubator-netbeans/blob/master/uihandler/arch.xml#L148
 
|https://github.com/apache/incubator-netbeans/blob/master/uihandler/arch.xml#L148]given
 your desire to redirect the user to Apache JIRA, I recommend following line to 
your attention: _If the returned page contains tag like <meta 
http-equiv='Refresh' content='3; URL=somepage'> an (external) browser is opened 
with the specified URL and the user can then interact directly with the server, 
thru pages it serves_.


was (Author: jtulach):
I believe I designed the system to be fully configurable online. E.g. you guys 
should be able to disable exception reporter for NetBeans 8.2 or older versions 
of the IDE as well. It may be good idea to read the architecture description 
for the uihandler module. Jirko, Reema, please find it here:

[https://github.com/apache/incubator-netbeans/blob/master/uihandler/arch.xml]

As far as I can tell, there is the ERROR_URL which is then branded by
{code:java}
ide.branding/uihandler/src/org/netbeans/modules/uihandler/Bundle_nb.properties:ERROR_URL=https://netbeans.org/nonav/uigestures/error2.html
{code}
E.g. if you change the [http://netbeans.org/nonav/uigestures/error2.html] page 
and remove the submit button, no reporting shall happen. There is currently:
{code:java}
<form action="http://statistics.netbeans.org/analytics/upload.jsp"; 
method="post">
    <input type="hidden" name="submit" value="&amp;Send" 
alt="reportDialog"></input>
    <input type="hidden" name="view-data" value="&amp;View Data" align="left" 
alt="&amp;Hide data"></input>
    <input type="hidden" name="exit" value="Cancel"></input>
</form>{code}
 In the above page. The description of the behavior of these buttons seems to 
be at line 148: 
[https://github.com/apache/incubator-netbeans/blob/master/uihandler/arch.xml#L148]

 

> Turn off exception reporter
> ---------------------------
>
>                 Key: NETBEANS-491
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-491
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - Code
>    Affects Versions: 9.0
>            Reporter: Jiří Kovalský
>            Assignee: Reema Taneja
>            Priority: Critical
>              Labels: pull-request-available
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Apache NetBeans 9.0 tries to send exception reports even though the backend 
> infrastructure is no longer available. In case of an exception NetBeans IDE 
> should no longer display the *Review and Report Problem* button and report 
> URL in the error message should instead read: 
> [https://issues.apache.org/jira/secure/CreateIssue!default.jspa]
> *Steps to reproduce:*
>  # Launch development build #20180320 of Apache NetBeans 9.0.
>  # Type e.g. _properties_ into the *Search* field in the upper right corner 
> of the IDE.
>  # Press Enter.
> *Expected:*
> Due to another bug NetBeans opens an exception dialog which contains old link 
> to _issues.html_ page and *Review and Report Problem* button.
> *Actual:*
> NetBeans opens an exception dialog only instructing user to report the 
> exception to Apache Jira and no *Review and Report Problem* button is shown.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to