| Summary: | Macros: Is not working properly macro DIR$ | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Vladimir <Voronin_V_K> |
| Component: | BASIC | Assignee: | Noel Power <nopower> |
| Status: | VERIFIED FIXED | ||
| Severity: | major | CC: | nopower, serval2412 |
| Priority: | high | Keywords: | regression |
| Version: | 4.0.3.3 release | ||
| Hardware: | Other | ||
| OS: | Windows (All) | ||
| Whiteboard: | BSA target:4.1.0 target:4.0.4 | ||
| Crash report or crash signature: | Regression By: | ||
On pc Debian x86-64 with master sources updated yesterday, I also have got a wrong result, it shows: "63988_13_05_2013_13_09_27.xlt" Noel: one for you? Increase importance since it's a regression I can take it Noel Power committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=175509176433cf5df2d98718e1a6f9cf5bbe9658 fix wildcard handling regression( for basic functions like Dir ) fdo#64536 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. Noel Power committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=715222bc431183028b2accb2afb5f21b42008d70&h=libreoffice-4-0 fix wildcard handling regression( for basic functions like Dir ) fdo#64536 It will be available in LibreOffice 4.0.4. 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. I git updated master sources and tried again, it worked. Thank you Noel for your very fast fix! :-) I let you put it at RESOLVED/FIXED, perhaps you want to check something before doing it. I'll do the VERIFY part. As I had said in https://bugs.freedesktop.org/show_bug.cgi?id=64536#c6 => VERIFIED This works. Thank you Noel. |
Problem description: DIR$ macro does not work correctly with the mask files. Steps to reproduce: 1. Sub Main a = DIR$("C:\Users\vvv\AppData\Local\Temp\*_dat.txt") MsgBox(a) End Sub 2. The directory C:\Users\vvv\AppData\Local\Temp\ contains files 63988_13_05_2013_13_09_27.txt 63988_13_05_2013_13_09_27.xlt 63988_13_05_2013_13_09_27_dat.txt FXSAPIDebugLogFile.txt Current behavior: 63988_13_05_2013_13_09_27.txt Expected behavior: 63988_13_05_2013_13_09_27_dat.txt Operating System: Windows 7 Version: 4.0.3.3 release Last worked in: 3.6.6.2 release