Issue 34509 - Form Functions: Properties, Events tab page crash
Summary: Form Functions: Properties, Events tab page crash
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: 680m54
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: duncan.foster
QA Contact: issues@framework
URL:
Keywords:
: 34533 35696 36473 (view as issue list)
Depends on: 33972
Blocks: 35694
  Show dependency tree
 
Reported: 2004-09-22 15:19 UTC by Uwe Fischer
Modified: 2005-01-06 13:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Uwe Fischer 2004-09-22 15:19:10 UTC
Add a Form Functions control (tested with check box, button) to a text doc.
Open Control properties dialog, tab page Events. Click any of the "..." buttons.
Crash
Comment 1 Frank Schönheit 2004-09-24 08:55:47 UTC
*** Issue 34533 has been marked as a duplicate of this issue. ***
Comment 2 Frank Schönheit 2004-09-24 08:56:16 UTC
accepting
Comment 3 Frank Schönheit 2004-09-24 13:58:45 UTC
fs->dfoster: Somehow, _SvxMacroTabPage::DisplayAppEvents thinks that all events
we're passing don't have a UI name, it does not add any entries to the list box.
This then causes a crash at the very bottom of the method, at
    rListBox.Select( rListBox.GetEntry(0) );
which tries to select a NULL entry.

I am pretty sure that we didn't change the event handling in the property
browser recently. This sounds to me more like a regression of the scripting
framework changes.

side note: the same crash happens when trying to assign macros to Basic Dialog
controls in the Basic IDE.
Comment 4 Uwe Fischer 2004-09-24 14:21:14 UTC
"regression in scripting framework"? Is this related to the fact that since some
weeks, there is no more command for Beans and JavaScript in the
Tools-Macros-Organize Macros submenu?
Comment 5 duncan.foster 2004-09-24 14:36:42 UTC
Two problems here:
1) The dialog code is not checking for NULL objects before trying to select.
2) The list of events passed in is empty. There is another issue relating to
this but I don't have the number to hand.

The problem with the missing organisers is due to the move to the native
installers. Java components now must write their own data into the services.rdb,
whereas before this was hardcoded in the scp project. This is issue 33576.
Comment 6 duncan.foster 2004-09-28 11:19:45 UTC
Have fixed the dialog code. Issue 33972 is tracking why no events are being
passed in.
Comment 7 tomaisoc 2004-10-13 15:41:37 UTC
Duncan has commited the fix in the scriptingf6 CWS. With this fix the
dialog will not crash anymore, but due to bug 33972 the list of events
may be empty.
Comment 8 joerg.skottke 2004-10-22 12:30:02 UTC
verified
Comment 9 tomaisoc 2004-10-26 10:19:03 UTC
*** Issue 35696 has been marked as a duplicate of this issue. ***
Comment 10 stephan.wunderlich 2004-11-02 10:22:54 UTC
*** Issue 36473 has been marked as a duplicate of this issue. ***
Comment 11 duncan.foster 2005-01-06 13:10:41 UTC
closed