Issue 75207 - New Chart: Roadmap Wizard jumping back might Crash
Summary: New Chart: Roadmap Wizard jumping back might Crash
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-07 16:12 UTC by bjoern.milcke
Modified: 2013-02-24 21:22 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bjoern.milcke 2007-03-07 16:12:09 UTC
1. Create a chart in Calc
2. Click on third step in roadmap (Data Series)
3. Click Add
=> The buttons and all other steps are disabled
4. Click Remove
=> The buttons and other steps are re-enabled
5. Click on the first step (ChartType)
=> An Assertion pops up:
"Error: OWizardMachine::skipBackwardUntil: this target state does not exist in
the history! From File
Y:\SRC680\src.m202\svtools\source\dialogs\wizardmachine.cxx at Line 596"
=> Crash (because an empty stack is "popped").
Comment 1 bjoern.milcke 2007-03-07 16:56:18 UTC
The Roadmap Wizard does not allow disabling, re-anabling states and then
travelling back. Now, the solution is to overload the leaveState() method and
return false, if the page is invalid. Diadvantage: the roadmap items are still
shown in "enabled" text color, although they don't work before the problem on
the current page is fixed.

ToDo: The concept of disabling travelling should be extended to pop up dialogs
that state the problem.
Comment 2 bjoern.milcke 2007-03-07 17:30:26 UTC
->TK: Please verify in CWS chart2mst3.
Comment 3 kla 2007-03-12 09:51:45 UTC
seen ok in cws -> verified
Comment 4 p9w.vu.31122010 2007-10-01 00:45:01 UTC
verified fixed in m230, closing