Description: Attached example XLSX file has a VBA macro that tries to open another XLSX file referencing only by name. Excel can do this, but Calc cannot, it requires full path too. Steps to Reproduce: 1. Download the example files to the same directory 2. Open attached file and try to run the FileOpenExample macro Actual Results: Instead of opening the Example.xlsx file it gives an Unsupported URL error. Expected Results: It would be nice to open the file, just like Excel. Reproducible: Always User Profile Reset: No Additional Info: Version: 6.4.0.0.alpha0+ (x86) Build ID: 49422a469646ad8be43ba828ca24c2484c26b9e8 CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; TinderBox: Win-x86@42, Branch:master, Time: 2019-07-08_00:50:19 Locale: hu-HU (hu_HU); UI-Language: en-US Calc: CL
Created attachment 152849 [details] Example file from Excel with the macro
Created attachment 152850 [details] Example file from Excel to open by the macro
Created attachment 152851 [details] Screenshot of the problem in Calc
Confirm with Version: 6.4.0.0.alpha0+ Build ID: 47a774fbef8c224e4853de3fdd0230b9442bb716 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; and Version: 4.1.0.0.alpha1+ Build ID: 863d38fbfa4fb4861e476828c46410602100919
not sure (comipling takes some long time) but I guess... https://opengrok.libreoffice.org/xref/core/framework/source/loadenv/loadenv.cxx?r=602c6097#259 https://opengrok.libreoffice.org/xref/core/framework/source/loadenv/loadenv.cxx?r=602c6097#602 https://opengrok.libreoffice.org/xref/core/filter/source/config/cache/typedetection.cxx?r=902f09e4#83 https://opengrok.libreoffice.org/xref/core/framework/source/services/urltransformer.cxx?r=1c099989#124 https://opengrok.libreoffice.org/xref/core/filter/source/config/cache/filtercache.cxx?r=ee8f0a10#678 if URL does not have semicolon in later-than-or-equal-to 2nd character(index >= 1), aURL.Main in TypeDetection::queryTypeByURL is empty, and neither pattern-matching nor mapping works?
https://opengrok.libreoffice.org/xref/core/framework/source/loadenv/loadenv.cxx?r=602c6097#652 https://opengrok.libreoffice.org/xref/core/ucb/source/core/ucb.cxx?r=9e0b3423#765 https://opengrok.libreoffice.org/xref/core/ucb/source/core/ucb.hxx?r=e57ca028#183 https://opengrok.libreoffice.org/xref/core/ucb/source/core/ucb.cxx?r=9e0b3423#424 https://opengrok.libreoffice.org/xref/core/ucb/source/core/providermap.hxx?r=31f71635#62 https://opengrok.libreoffice.org/xref/core/ucb/source/inc/regexpmap.hxx?r=ab9b67bb#add https://opengrok.libreoffice.org/xref/core/ucb/source/regexp/regexp.cxx?r=310ce513#293 https://opengrok.libreoffice.org/xref/core/ucb/source/inc/regexpmap.hxx?r=ab9b67bb#map so, at least we need scheme somewhere? Also, logs on my private build suggests https://opengrok.libreoffice.org/xref/core/sc/source/ui/vba/vbaworkbooks.cxx?r=ef59252a#171 https://opengrok.libreoffice.org/xref/core/sc/source/ui/vba/vbaworkbooks.cxx?r=ef59252a#197 getFileFilterType is using ucbhelper::Content constructor somewhere, which also calls UniversalContentBroker::queryContentProvider https://opengrok.libreoffice.org/xref/core/ucbhelper/source/client/content.cxx?r=63dfd069#255
Dear NISZ LibreOffice Team, 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 https://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
still repro in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 23f17b7ea6fbd2f422c7e40192ae60e4df25224c CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: default; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: threaded
Shouldn't the system path be given in URL notation? Option VBASupport 1 Public Sub FileOpenExample() file1 = "file:///Example.xlsx" Workbooks.Open Filename:=file1 End Sub
I tried the test file in Excel and it does not work there either. It seems you have to put an absolute file path in any case. I will close it as NOTABUG since it works as intended even in MS.