Description: > git grep -w substring -- '*.py' > wizards/com/sun/star/wizards/common/Desktop.py: sspecialchar = snewname.substring(i, i + 1) > wizards/com/sun/star/wizards/common/FileAccess.py: _sPath2 = _sPath2.substring(1) Or is there some magic involved that makes a substring() method available in this case? If not, and these actually are errors, in my opinion it is proof enough that nobody ever uses these wizards and they can be removed. Steps to Reproduce: . Actual Results: . Expected Results: . Reproducible: Always User Profile Reset: No Additional Info: User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7
Xisco, seems that you committed at least the Desktop.py in 2011
Hi Tor, The reason why we have this in the python code is because I used a limited tool to convert the code from java to python and some methods were just not converted. It doesn't fail because this code is not used by the agenda/fax/letter wizards but it's by the not-yet-converted java wizards
But why do we keep knowingly broken and unused machine-generated Python code in the master branch of the repo for seven years? It is just confusing. If at some time you or somebody works on this again, surely the converter tool can be run once more? Maybe the tool has even become better since? The current situation is bad as it misleads people looking for Python code samples. Like I did. I am not 100% fluent in Python, but as I know the basics and it is such a nice language to work with, I usually manage fine by just grepping or googling for things I don't recall. So yesterday when I didn't remember how to take a substring in Python, I grepped as above, and didn't understand at all why Python claims the substring() method was wrong even if (as I thought) our code clearly ,uses it... The very least, the file names should be changed to *.py.broken, or they should be put in a directory called python-wip-broken, or something similar to make it obvious it is not actual working code? But best would be to keep this only in a branch, I think.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Seems pointless to keep this open, let't WONTFIX it.
Fixed in https://cgit.freedesktop.org/libreoffice/core/commit/?id=2f7c3cce2699901c0ffe3780cfad0376a5d1a519