Bug 107668 - Form wizard doesn't appear
Summary: Form wizard doesn't appear
Status: CLOSED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha1+
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Julien Nabet
URL:
Whiteboard: target:5.4.0
Keywords: regression
Depends on:
Blocks:
 
Reported: 2017-05-07 05:57 UTC by Julien Nabet
Modified: 2017-05-07 13:49 UTC (History)
0 users

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 Julien Nabet 2017-05-07 05:57:43 UTC
Description:
On pc Debian x86-64 with master sources updated 3 days ago, form wizard (on Base) doesn't appear.


Steps to Reproduce:
1. Open a odb file containing at least 1 table
2. Click on form wizard


Actual Results:  
Form wizard doesn't appear and console displays this:
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
	at com.sun.star.wizards.form.UIControlArranger$LayoutRenderer.render(UIControlArranger.java:137)
	at com.sun.star.wizards.ui.ButtonList.refreshImageText(ButtonList.java:475)
	at com.sun.star.wizards.ui.ButtonList.setSelected(ButtonList.java:462)
	at com.sun.star.wizards.form.UIControlArranger$ArrangeButtonList.<init>(UIControlArranger.java:237)
	at com.sun.star.wizards.form.UIControlArranger.<init>(UIControlArranger.java:117)
	at com.sun.star.wizards.form.FormWizard.buildSteps(FormWizard.java:256)
	at com.sun.star.wizards.form.FormWizard.start(FormWizard.java:344)
	at com.sun.star.wizards.form.CallFormWizard$FormWizardImplementation.trigger(CallFormWizard.java:75)


Expected Results:
Form wizard should appear


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0
Comment 2 Commit Notification 2017-05-07 13:49:09 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=aa722151d0e76fddbc3801667f5d613690d5a4d9

tdf#107668: fix form wizard

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.