Summary | Date parser in quick task traps all word numbers |
Queue | Nag |
Queue Version | 4.1.0 |
Type | Bug |
State | Assigned |
Priority | 1. Low |
Owners | Horde Developers (at) |
Requester | x.van_dessel (at) ieee (dot) org |
Created | 07/12/2013 (4324 days ago) |
Due | |
Updated | 07/12/2013 (4324 days ago) |
Assigned | 07/12/2013 (4324 days ago) |
Resolved | |
Milestone | |
Patch | No |
State ⇒ Assigned
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Date parser in quick task traps all word numbers
Queue ⇒ Nag
Milestone ⇒
Patch ⇒ No
following sentence when using the Quick Add task button:
Avoid Quinine freight is often done wrongly in seven weeks
The date parsing of "in seven weeks" is OK. However, the text of the
task should be:
"Avoid Quinine freight is often done wrongly"
But it is replaced (due to the date parser detecting number words) into this:
"Avoid Qui9 fr8 is of10 d1 wrongly"
(I obviously crafted the original sentence to maximize the effect)
Suggested improvement: The date parser should only replace words by
numbers if the word is on its own, not within another word. Thereby
the calculation of the target date will still work (seven in this
case) but any number word that is part of another word is left
untouched.
Test was repeated using the German language modules (and using German
number words) and gave identical results.