Bug 128793 - unoidl.com.sun.star.table.XTableColumns.removeByIndex() removes row instead of column in the CLI version of the SDK.
Summary: unoidl.com.sun.star.table.XTableColumns.removeByIndex() removes row instead o...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
6.3.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-14 09:46 UTC by vigneshnama95
Modified: 2020-11-24 04:18 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Exampe C# file with the bug in question (2.75 KB, text/plain)
2019-11-15 08:16 UTC, vigneshnama95
Details
removeColByIndex.bsh (1.20 KB, text/plain)
2019-11-16 16:44 UTC, Oliver Brinzing
Details
removeColByIndex.ots (11.58 KB, application/vnd.oasis.opendocument.spreadsheet-template)
2019-11-16 16:45 UTC, Oliver Brinzing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vigneshnama95 2019-11-14 09:46:36 UTC
Description:
Calling removeByIndex removes the row for the corresponding index and does not remove the corresponding column. 

Steps to Reproduce:
1. Get XColumnRowRange.
2. Get XTableColumns from the obtained XColumnRowRange instance. 
3. Call removeByIndex() from the obtained XTableColumns. 

Actual Results:
Supposed to remove the column for the corresponding index

Expected Results:
Removes the row instead


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested out with C# .NET Frame 4.7.2 on windows 10 (build 14393) with Visual Studio 2019.
Comment 1 Samuel Mehrbrodt (allotropia) 2019-11-14 13:55:14 UTC
Can you please prepare a document with a script to reproduce?
Comment 2 vigneshnama95 2019-11-15 08:02:50 UTC
(In reply to Samuel Mehrbrodt (CIB) from comment #1)
> Can you please prepare a document with a script to reproduce?

Should I attach .cs file?
Comment 3 vigneshnama95 2019-11-15 08:16:56 UTC
Created attachment 155836 [details]
Exampe C# file with the bug in question
Comment 4 QA Administrators 2019-11-16 03:42:02 UTC Comment hidden (obsolete)
Comment 5 Oliver Brinzing 2019-11-16 16:44:43 UTC
Created attachment 155883 [details]
removeColByIndex.bsh
Comment 6 Oliver Brinzing 2019-11-16 16:45:05 UTC
Created attachment 155884 [details]
removeColByIndex.ots
Comment 7 Oliver Brinzing 2019-11-16 16:48:49 UTC
added a beanshell and macro example, also tried with java using remote connection (LO 6.3.3.2) - scripts will always remove columns.
Comment 8 Buovjaga 2020-04-26 15:33:36 UTC
(In reply to Oliver Brinzing from comment #7)
> added a beanshell and macro example, also tried with java using remote
> connection (LO 6.3.3.2) - scripts will always remove columns.

Vignesh: please comment on Oliver's test case.
Comment 9 QA Administrators 2020-10-24 05:12:57 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2020-11-24 04:18:15 UTC
Dear vigneshnama95,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp