When there are 2 periods present in a field text, the field does not display. See attached screenshot. Tested in Linux, Windows, and OpenOffice.org 3.2, all display the same behavior. I ran into this problem while programmatically replacing the fields. This function still worked, the fields are there, they just don't show visibly.
Created attachment 40647 [details] demonstration of the problem
Cedric may want to look at this in Writer field? This is reproduceable in LibreOffice 3.3 beta3/SLED 11 sp1 Meanwhile the subject does not accurately describe what I observed. These patterns look working fine .. .3.4 ..34 .34. 3..4 34.. The only pattern I reproduced the problem is something like (.+\.){2}.* namely: 3.4. 3.4.whatever 333.444.whatever
Lubos, you can try this one. Code pointer: http://opengrok.go-oo.org/xref/writer/sw/source/core/fields/docufld.cxx#1446. I'm not sure if the comment is still valid now: the sTmpName value has no quotes as it should if we read the comment.
Focus the 'Then' field and hit the 'Help' button to solve this mystery. Whoever created this feature apparently didn't give it much thought, but it's documented and changing it would break backwards compatibility, so this is most probably WONTFIX.
(In reply to comment #4) > Focus the 'Then' field and hit the 'Help' button to solve this mystery. > > Whoever created this feature apparently didn't give it much thought, but it's > documented and changing it would break backwards compatibility, so this is most > probably WONTFIX. Yes, seen that... any text containing two periods or more needs to be escaped with quotes "1.1." otherwise it's understood as a database expression.