-
-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiline UDAs broken #2645
Comments
@thehunmonkgroup I am actually unable to reproduce this working on 2.5.3. Am I doing something incorrectly here?
|
(same problem occurs on 2.5.1) |
From my initial post:
It's broken in 2.6.1, have not tried HEAD. |
@thehunmonkgroup Perhaps a misunderstanding. I tested this with 2.6.1 release, 2.5.3 release and 2.5.1 release. The mutli-line UDA, at least according to the above reproduction steps (unless I made a mistake), did not work in any of the releases. Which obviously seems to be in contrary to your experience (since you've been using this successfully with |
In other words, I can reproduce the bug, but I can't reproduce a working version, which makes this rather challenging to bisect 😅 |
Perhaps bisect from #2132 ? |
Is that the version you suspect you were using? I can try to investigate. Edit: Now I see what you meant. I misread the original issue description as #2132 causing the problem 😅 |
For me, the bug is not present on 2.5.3, and is present on all 2.6.x stuff I've tried. |
I am still unable to reproduce this, but yesterday I discovered that adding additional layer of quoting allows a multi-line value to be parsed correctly. Would that work as a workaround?
|
I can confirm that your workaround works for both 2.5.3 and the develop branch. Curious why this would be necessary though? The first quotes should pass the newlines along to TaskWarrior, right? |
Curious if there's been any progress on this, I'm not really sure what all I can do to help, but I'd be happy to help in any way I can, as this has affected a tool I maintain, and is preventing me from upgrading to 2.6.x: thehunmonkgroup/onenote#3 |
As far as I could tell, this is a consequence of the new parser that was introduced in 2.6 (development branch at the time) and later backported to 2.5.2. Unclear what can be done right now, I tried fixing it but it did not seem straightforward. Given there is a relatively simple workaround which could be utilized in |
My main concern with the workaround is that it feels brittle, especially given that we can't determine exactly why it's needed. That seems a recipe for another round of bug reports once the root cause is discovered and fixed. |
Fixes address the bug reported at GothenburgBitFactory/taskwarrior#2645 OneNote should now work properly with Taskwarrior versions 2.5.x and 2.6.x
Multiline string UDAs, which worked fine in TaskWarrior 2.5.3 with the addition of #2132 are now broken in latest release:
Possibly related to #2283 ?
The text was updated successfully, but these errors were encountered: