Use case that demonstrates problem:
- Open a topic's "Topic Preference" interface and define two settings with no value such as following:
* Set DENYTOPICVIEW =
* Set DENYTOPICCHANGE =
- Save the change
- Reopen Topic Preferences. The two value settings will be run together.
I don't know how to further describe the problem.... deleted line returns maybe?
--
TWiki:Main/LynnwoodBrown - 13 Jun 2008
Easy to reproduce.Confirmed and raising to urgent.
--
KJL
I think I can fix this one
--
KJL
I have a fix. Just testing it and trying to understand a small Perl oddity before I check in the fix.
--
TWiki:Main.KennethLavrsen - 16 Jun 2008
The problem was that a regex made for parsing line by line was too greedy and "ate" the setting line below the one with no value making a goofed result of both.
Fixing the regex in TWiki.pm was no good because that broke the multiline parsing. Instead I made a modified regex but still using the standard regexes for the part that is important for i18n.
Unit tests pass. Waiting for release
--
KJL 16 Jun 2008