Apache OpenOffice (AOO) Bugzilla – Issue 58565
variable names in package lists must have a defined end
Last modified: 2013-08-07 15:26:05 UTC
when doing variable replacement, the currently used construct %NAME doesn't state the end of the variable name. having two variables like %NAME and %NAMEANDMORE will work only by chance if the order of replacements fit (see #i58503#). also strings not intended to be replaced will be included in the match. changing variable usage in these lists form %NAME to %NAME% (and the replacing code ;)) might help to solve this problem.
*** Issue 58567 has been marked as a duplicate of this issue. ***
This is a little bit problematic, because all occurences of for example %PRODUCTNAME and %PRODUCTVERSION in all languages are affected by such a change. Many strings in the translation database and in nearly all ulf files in scp2 projects have to be changed.
is: so 2.0.2 is problematic? If so, please retarget accordingly.
Yes, I think this is one of the most dangerous changes we can do. Nearly all strings in the translation database have to be changed and nearly all strings in scp projects. Probably there are also Configuration settings that have to be adapted. Furthermore the packing process has to be adapted at several different positions, because the Windows Installer uses another syntax for dynamic variable replacement than our Java installer. Again a different syntax is used in our own setup script. The mechanism with variables like %PRODUCTNAME and %PRODUCTVERSION is used for many years and we had only one time one little string, in which a wrong variable was replaced. In my opinion there is no need to change this behaviour in SO8/OOo2 versions. We should do this for OOo 3. Setting corresponding target.
Setting new target
Accepted
Target OOo 3.0
Target OOo 3.x