This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21722 - Write code to download choices from issuezila
Summary: Write code to download choices from issuezila
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: sim (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords: UI
Depends on:
Blocks: 21682 21683
  Show dependency tree
 
Reported: 2002-03-19 17:13 UTC by Terry Heatlie
Modified: 2002-04-26 05:35 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Terry Heatlie 2002-03-19 17:13:19 UTC
The categories, milestones, etc in issuezilla can change from time
to time.  Therefore, in order to perform our bug logging integration,
we need a way to dynamically load this information from issuezilla.

This could be implemented by parsing HTML forms code out of the
web page, or by some other means.
Comment 1 Terry Heatlie 2002-04-15 15:59:33 UTC
working on this...
Comment 2 Terry Heatlie 2002-04-24 21:50:04 UTC
Progress on this task to date:

(1) HTTPForm.java is an object which submits forms.
    This has been tested and works.

(2) form_parser.jj is a parser which parses an HTML page and
    recognises any such forms which are present in the page.

These are the two pieces of functionality required to
complete this task.  However, the task can not yet be closed,
because there are two things left to do.
First, hook the parser and the form object together, so that
the parser can construct HTTPForms for the forms it recognises.
This should only be a couple of hours work.

Second, write a test case which proves that the functionality
provided is sufficient to meet the goal (IE that downloads
the choices from an IssueZilla page).
Comment 3 Terry Heatlie 2002-04-24 23:22:01 UTC
HTTPForm has been modified to use the parser.
The parser has had a method added for the use of the form.
Now the productions in the grammar need to create the
values to be returned.

Estimated time to complete this task:

* add java code to grammar productions 
  to create the HTTPForms		 2 hours.

* write testcase to demonstrate
  accessing issuezilla			 2 hours.

* tidy-up and small fixes as needed
  to get testcase working		 4 hours.

Total 8 hours.
Should be complete by end of 04/25/2002 (Pacific time).
Comment 4 Terry Heatlie 2002-04-26 05:35:33 UTC
code checked in.
tested against simpler forms than IZ contains, but
should work with maybe a little grammar tweaking.
IZ test case will be created as part of 21892.