Item9672: Country list shows up empty in the user form

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: JuanPabloGaviria
Waiting For:
Last Change By: KennethLavrsen
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

 

ItemTemplate edit

Summary Country list shows up empty in the user form
ReportedBy JuanPabloGaviria
Codebase 1.1.0 beta1, trunk
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:3429a0c4e793 distro:ae31a185ede5
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r7 - 26 Sep 2010, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy