Dynamic Variables do not Handle Consecutive '\' Characters Properly
- Status
- Closed
- Subject
- Dynamic Variables do not Handle Consecutive '\' Characters Properly
- Version
- 1.9.x
- Category
- Usability
- Feature
- Dynamic Variable
- Resolution status
- Fixed or Solved
- Submitted by
- it.tikiwiki
- Lastmod by
- lindon
- Rating
- Description
When entering the backslash character twice in a Dynamic Variable's content, e.g. \\servername\share, Dynamic Variables act unpredictably:
- You need to enter four '\' in order to get two '\' chars in the first occurrence of the DV. All other occurrences have all four '\'s
- If there are more than one DVs with more than one '\' chars, upon updating one DV, 1/2 of all '\' chars will be lost in all the DVs on the page. E.g.:
DV name Stored Text Editable Displayed Text Non-editable Displayed Text Stored Text after saving ANY DV on the page. %dv1% \\\\server1\share \\server1\share \\\\server1\share \\server1\share %dv1% \\\\server2\\share \\server1\share \\\\server1\\share \\server2\share
Disclaimer: Please pardon our use of the name it.tikiwik as a username. It wasn't meant to imply affiliation with tikiwiki; it's just a standard our department uses for internet accounts.- Solution
Fixed with commit 56595
for Tiki 14.1 and backported to Tiki12.5
For previous versions, a possible workaround (at least when using share names 😉 is to use the front slash character, but obviously this isn't a one-size fits all workaround.
- Importance
- 3
- Priority
- 15
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1704
- Created
- Thursday 17 April, 2008 20:08:07 UTC
by Unknown - LastModif
- Saturday 31 October, 2015 18:42:34 UTC