<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #681: Submitting Transition event overseas: An illegal choice has been detected. Please contact the site administrator.</title>
    <link>http://localhost:8080/trac/ticket/681</link>
    <description>&lt;p&gt;
Hi I'm using &lt;a class="ext-link" href="https://www.transitionnetwork.org/node/add/event"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/node/add/event&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
To create a Transition Training event in Belgium in the 'Limburg' region.
&lt;/p&gt;
&lt;p&gt;
On submission I get the following error;
&lt;/p&gt;
&lt;p&gt;
"An illegal choice has been detected. Please contact the site administrator."
&lt;/p&gt;
&lt;p&gt;
It works for UK events.
&lt;/p&gt;
&lt;p&gt;
I had a look at the fields in the event content type, but couldn't spot any problems
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/681</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Thu, 23 Jan 2014 17:58:11 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/681#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:1</guid>
      <description>
        &lt;p&gt;
Naresh has asked me about this one again.
&lt;/p&gt;
&lt;p&gt;
This might be relevant:
Changing country and then selecting a province returns error "An illegal choice has been detected. Please contact the site administrator."
&lt;a class="ext-link" href="https://drupal.org/node/2139429"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://drupal.org/node/2139429&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Tue, 28 Jan 2014 12:04:14 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/681#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:2</guid>
      <description>
        &lt;p&gt;
It seems this is also affecting the submission of new initiatives that are not in the UK.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 29 Jan 2014 16:12:49 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/681#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.05&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.05&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Initial thoughts: Our custom module &lt;a class="ext-link" href="https://github.com/transitionnetwork/transition_extras"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/transitionnetwork/transition_extras&lt;/a&gt; might be causing this now that Location has changed, or it's a bug in Location... Or something else!
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Wed, 29 Jan 2014 16:14:59 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/681#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:4</guid>
      <description>
        &lt;p&gt;
I applied this patch &lt;a class="ext-link" href="https://drupal.org/files/issues/location.module_34.patch"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://drupal.org/files/issues/location.module_34.patch&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
To location.module on www.stg2.transitionnetwork.org and it has resolved the issue.
&lt;/p&gt;
&lt;p&gt;
Shall I apply to live site? Any concerns?
&lt;/p&gt;
&lt;p&gt;
Thanks
&lt;/p&gt;
&lt;p&gt;
Sam
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 29 Jan 2014 16:19:06 GMT</pubDate>
      <title>hours, owner, status, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/681#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.05&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              changed from &lt;em&gt;jim&lt;/em&gt; to &lt;em&gt;sam&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;assigned&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.05&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Good work... Yes, add it to the live site if it's proven to fix it, and also the makefile for the location module section.
&lt;/p&gt;
&lt;p&gt;
Document this issue in the makefile to its progress can be followed.
&lt;/p&gt;
&lt;p&gt;
Reassigning to you, cheers!
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Wed, 29 Jan 2014 16:33:24 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/681#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:6</guid>
      <description>
        &lt;p&gt;
Hi Jim
&lt;/p&gt;
&lt;p&gt;
So I went to download the location module (So I could then patch it);
&lt;/p&gt;
&lt;p&gt;
tn@puffin:~/static/transition-network-d6-p009/modules$ drush dl location
Install location /data/disk/tn/static/transition-network-d6-p009/sites/all/modules/contrib/location already exists. Do you want to overwrite it? (y/n):n
&lt;/p&gt;
&lt;p&gt;
However ls doesn't show a 'location' directory in there;
&lt;/p&gt;
&lt;p&gt;
tn@puffin:~/static/transition-network-d6-p009/modules$ ls
aggregator  book     cookie_cache_bypass  help          o_contrib            php      README.txt  syslog    tracker        upload
block            color    dblog                  locale  openid            ping     search         system    translation        user
blog            comment  filter                  menu          path                    poll     simpletest  taxonomy  trigger
blogapi     contact  forum                  node          path_alias_cache  profile  statistics  throttle  update
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Wed, 29 Jan 2014 16:34:07 GMT</pubDate>
      <title>owner changed</title>
      <link>http://localhost:8080/trac/ticket/681#comment:7</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:7</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              changed from &lt;em&gt;sam&lt;/em&gt; to &lt;em&gt;jim&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Wed, 29 Jan 2014 16:42:19 GMT</pubDate>
      <title>owner changed</title>
      <link>http://localhost:8080/trac/ticket/681#comment:8</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:8</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              changed from &lt;em&gt;jim&lt;/em&gt; to &lt;em&gt;sam&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Ah got it. Should be looking here;
tn@puffin:~/static/transition-network-d6-p009/sites/all/modules/contrib$ ls
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 29 Jan 2014 16:56:54 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/681#comment:9</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:9</guid>
      <description>
        &lt;p&gt;
yes!
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Wed, 29 Jan 2014 17:00:19 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/681#comment:10</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:10</guid>
      <description>
        &lt;p&gt;
Hi Jim. I patched it and had a go at updating the Make file. Please sanity check the make file changes!
&lt;/p&gt;
&lt;p&gt;
tn@puffin:~/static/transition-network-d6-p009/sites/all/modules/contrib/location$ wget &lt;a class="ext-link" href="https://drupal.org/files/issues/location.module_34.patch"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://drupal.org/files/issues/location.module_34.patch&lt;/a&gt;
--2014-01-29 16:42:49--  &lt;a class="ext-link" href="https://drupal.org/files/issues/location.module_34.patch"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://drupal.org/files/issues/location.module_34.patch&lt;/a&gt;
Resolving drupal.org (drupal.org)... 140.211.10.62, 140.211.10.16
Connecting to drupal.org (drupal.org)|140.211.10.62|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 575 [text/plain]
Saving to: `location.module_34.patch'
&lt;/p&gt;
&lt;p&gt;
100%[====================================================================================&amp;gt;] 575         --.-K/s   in 0s
&lt;/p&gt;
&lt;p&gt;
2014-01-29 16:42:50 (8.33 MB/s) - `location.module_34.patch' saved &lt;a class="missing changeset" title="No default repository defined"&gt;[575/575]&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
tn@puffin:~/static/transition-network-d6-p009/sites/all/modules/contrib/location$ patch -p1 &amp;lt; location.module_34.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;
|Index: location.module
|===================================================================
&lt;/p&gt;
&lt;table class="wiki"&gt;
&lt;tr&gt;location.module        (revision 1047)
&lt;/tr&gt;&lt;/table&gt;
&lt;p&gt;
|+++ location.module        (working copy)
&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;
File to patch: location.module
patching file location.module
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 31 Jan 2014 14:08:17 GMT</pubDate>
      <title>component changed</title>
      <link>http://localhost:8080/trac/ticket/681#comment:11</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:11</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;component&lt;/strong&gt;
                changed from &lt;em&gt;Live server&lt;/em&gt; to &lt;em&gt;Drupal modules &amp; settings&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Component changed to Drupal modules and settings.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Tue, 11 Feb 2014 12:43:57 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/681#comment:12</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:12</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Tue, 11 Feb 2014 13:03:26 GMT</pubDate>
      <title>status changed; resolution deleted</title>
      <link>http://localhost:8080/trac/ticket/681#comment:13</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:13</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;closed&lt;/em&gt; to &lt;em&gt;reopened&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                &lt;em&gt;fixed&lt;/em&gt; deleted
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
This is not complete unless the patch is either;
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;A: not needed as it's in the commited module
&lt;/li&gt;&lt;li&gt;B: included in the makefile -- in which case please complete the pull request &lt;a class="ext-link" href="https://github.com/transitionnetwork/transitionnetwork.org-d6.profile/pull/1"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/transitionnetwork/transitionnetwork.org-d6.profile/pull/1&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;C: Done already - in which case please link to the commit that fixes it here in this ticket.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Reopening.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Wed, 26 Mar 2014 15:08:35 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/681#comment:14</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:14</guid>
      <description>
        &lt;p&gt;
Sam to follow up as discussed on 26/03. Obviously revolves around us doing code publishing, which Ed is asking Paul for help with, so stand by.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>sam</dc:creator>

      <pubDate>Tue, 15 Apr 2014 15:01:56 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/681#comment:15</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:15</guid>
      <description>
        &lt;p&gt;
Hi so I should add
&lt;/p&gt;
&lt;p&gt;
projects[location][patch] [tn02] = &lt;a class="ext-link" href="https://drupal.org/files/issues/location.module_34.patch"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://drupal.org/files/issues/location.module_34.patch&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
To the makefile?
&lt;/p&gt;
&lt;p&gt;
Thanks
&lt;/p&gt;
&lt;p&gt;
Sam
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Tue, 15 Apr 2014 19:02:18 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/681#comment:16</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/681#comment:16</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.05&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.1&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Hi Sam, yes... That will ensure the patch gets added next time...
&lt;/p&gt;
&lt;p&gt;
Actually, the 'correct' line would be:
&lt;tt&gt;projects[location][patch][tn02] = ​http://drupal.org/files/issues/location.module_34.patch&lt;/tt&gt;
&lt;/p&gt;
&lt;p&gt;
With no newline... The difference being a) no space in the array definition, b) no https -- I've had issues where the server can't see HTTPS stuff, but is fine with HTTP. Odd...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>