Bug 32324

Summary: Bug in ConfigAccess for toolbars
Product: LibreOffice Reporter: Dorange-Pattoret Didier <ddorange>
Component: BASICAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: 3.3.0 RC1   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Dorange-Pattoret Didier 2010-12-11 13:22:38 UTC
Hello,

This bug come with OOo3.3

With this code :
oAddon = oConfigAccess.getByName("org.openoffice.Office.addon.DMathsBarre")
For I = LBound(oAddon.ElementNames()) To UBound(oAddon.ElementNames())
oAddon.ElementNames(I)
Next I

I only get impair numbers : btn01, btn03, btn05, btn07 ...
and not btn02, btn 04 ...

So users can'not install the Dmaths extension (www.dmaths.org).

To try the bug :
1) Download and Install DmathsAddon.oxt : www.dmaths.org/addons/DmathsAddon.oxt
2) Find this macro : DmInstall -> Install_Addon -> RegleNumerotationIcones
3) Add this line : Print oAddon.ElementNames(I)
4) Run the macro.
You will get only btn01, btn 03, btn 05  ...

I suggest this bug become STOPPER because users could'not install their
extension Dmaths which works perfectly under OOo 3.2.1

Sorry for my bad english.

Thanks for all !!!
Comment 1 Cédric Bosdonnat 2010-12-17 08:07:57 UTC
(In reply to comment #0)
> With this code :
> oAddon = oConfigAccess.getByName("org.openoffice.Office.addon.DMathsBarre")
> For I = LBound(oAddon.ElementNames()) To UBound(oAddon.ElementNames())
> oAddon.ElementNames(I)
> Next I
> 
> I only get impair numbers : btn01, btn03, btn05, btn07 ...
> and not btn02, btn 04 ...

I can reproduce that bug, and most strangely, when you comment out this line all the element names are printed:

oAddon.getByname(oAddon.ElementNames(I)).ImageIdentifier = Mid(LaChaine,1,Len(LaChaine)-NbreCarac) & NomIcone(I)

Inspecting what is in the oAddon.ElementNames() shows all the values. The bug seems to lye in this line.
Comment 2 Jan Holesovsky 2010-12-20 20:36:49 UTC
This is not a blocker, changing severity to normal.
Comment 3 Björn Michaelsen 2011-12-23 11:35:21 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 4 Florian Reisinger 2012-08-14 14:04:33 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 5 Florian Reisinger 2012-08-14 14:05:22 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 6 Florian Reisinger 2012-08-14 14:09:49 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian
Comment 7 Florian Reisinger 2012-08-14 14:11:48 UTC
Dear bug submitter!

Due to the fact, that there are a lot of NEEDINFO bugs with no answer within the last six months, we close all of these bugs.

To keep this message short, more infos are available @ https://wiki.documentfoundation.org/QA/NeedinfoClosure#Statement

Thanks for understanding and hopefully updating your bug, so that everything is prepared for developers to fix your problem.

Yours!

Florian

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.