Country data type error

View: New views
4 Messages — Rating Filter:   Alert me  

Country data type error

by Phil Kemp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey guys,

I've run into a problem with a custom type using Oracle and FarCry 5.2.2. The field is defined as:

 <cfproperty ftSeq="1" ftWizardStep="General Details" ftFieldSet="General Details" name="country" type="nstring" hint="Mission Country" required="yes"
      default="" ftValidation="required" ftLabel="Mission Country" ftType="country" ftCommon=" " ftCountries="" ftValue="code" />

I put a space in the value for ftCommon so that I wouldn't get any common countries listed or the whole list displayed as common countries as well as in all countries.

The problem I'm having is that when I save, say, Kenya as the country, when I go to edit the content type it selects Afghanistan (the first entry). What's wrong? I've used this type on other projects and it worked fine up till now.

Cheers for any pointers,
Phil

Re: Country data type error

by Blair McKenzie-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't know how this happened, but the formtool isn't adding a 'selected' attribute when editing an existing value. How embarrassing. Can you add a ticket for this, and I'll make sure the fix is in the next release.

Blair

On Fri, Oct 16, 2009 at 2:15 AM, Phil Kemp <philipbkemp@...> wrote:


Hey guys,

I've run into a problem with a custom type using Oracle and FarCry 5.2.2.
The field is defined as:

 <cfproperty ftSeq="1" ftWizardStep="General Details" ftFieldSet="General
Details" name="country" type="nstring" hint="Mission Country" required="yes"
     default="" ftValidation="required" ftLabel="Mission Country"
ftType="country" ftCommon=" " ftCountries="" ftValue="code" />

I put a space in the value for ftCommon so that I wouldn't get any common
countries listed or the whole list displayed as common countries as well as
in all countries.

The problem I'm having is that when I save, say, Kenya as the country, when
I go to edit the content type it selects Afghanistan (the first entry).
What's wrong? I've used this type on other projects and it worked fine up
till now.

Cheers for any pointers,
Phil
--
View this message in context: http://www.nabble.com/Country-data-type-error-tp25910427s621p25910427.html
Sent from the FarCry - Dev mailing list archive at Nabble.com.





--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Country data type error

by Phil Kemp :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bug report filed at http://bugs.farcrycms.org/browse/FC-2000

Blair McKenzie-2 wrote:
I don't know how this happened, but the formtool isn't adding a 'selected'
attribute when editing an existing value. How embarrassing. Can you add a
ticket for this, and I'll make sure the fix is in the next release.

Blair

Re: Country data type error

by Blair McKenzie-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Fixed for 5.2.5.

On Wed, Oct 21, 2009 at 11:31 PM, Phil Kemp <philipbkemp@...> wrote:


Bug report filed at http://bugs.farcrycms.org/browse/FC-2000


Blair McKenzie-2 wrote:
>
> I don't know how this happened, but the formtool isn't adding a 'selected'
> attribute when editing an existing value. How embarrassing. Can you add a
> ticket for this, and I'll make sure the fix is in the next release.
>
> Blair
>


-----
I got bored, so...  http://philkemp.white.prohosting.com/farcry/
http://philkemp.white.prohosting.com/farcry/
--
View this message in context: http://www.nabble.com/Country-data-type-error-tp25910427s621p25991594.html
Sent from the FarCry - Dev mailing list archive at Nabble.com.





--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---