Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
When editing User Home Topics, the country select box is empty.
--
JuanPabloGaviria - 14 Sep 2010
In UserForm, somehow this does not work:
[[%SYSTEMWEB%.CountryList][Country]]
but this does:
[[CountryList][Country]]
I think the first notation should work as well for apps.
--
ArthurClemens - 16 Sep 2010
I think what does not work is that we have a Macro in the form.
I bet it works with
CountryList. If no other solution comes up this is a better fix that something that does not work at all.
--
KennethLavrsen - 26 Sep 2010
Macros in the formfield name in the LHS of a
[[bracketed][link]]
fails to work on 1.0.x too.
--
PaulHarvey - 26 Sep 2010
Yes. That is not new. If someone wants to fix it there are open questions to answer first.
- Which topic context should the macro be expanded in? The current web? The web of the form? With SYSTEMWEB the macro is probably global so it does not matter but if the problem is fixed it will mean that all Macros can be used
- What will an expansion of macros in the form field mean to the performance?
- What other side effects can this have
Feature proposal is best way to address this. The actual bug that was opened here was fixed by hardcoding.
If someone renames the System web, they will need to change the hardcoded System prefix in the user form. Very few renames System web. And if they do it is annoying having to change this but it is not a bug that prevents Foswiki from working. The other alternative would have been not to have a country list. But then it is not there to demonstrate what you can do.
I bet most pro users of Foswiki removes the country list anyway because they only use it in one country or they limit the list to a few countries in their own country list.
So the hardcoding is not such a big deal.
I am closing this bug as we did not have the country list topic in 1.0.10
--
KennethLavrsen - 26 Sep 2010