geary / google-election-center-data

Automatically exported from code.google.com/p/google-election-center-data
0 stars 0 forks source link

submissions feed FT resource URLs broken #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
submissions feed http://www.googleelectioncenter.com/submissions/all/feed
points to the same URL for all FT resources.

Will, Alex, can you reproduce this or see what's causing it?
It might be an issue with our build, but I wanted to send this to you first, 
since my hunch is that it's coming from your code.

Original issue reported on code.google.com by rpam...@gmail.com on 1 Sep 2010 at 8:44

GoogleCodeExporter commented 9 years ago

Original comment by rpam...@gmail.com on 1 Sep 2010 at 8:44

GoogleCodeExporter commented 9 years ago
It looks like it chooses whatever the first table is in the feed and uses that 
for everything.

In, http://www.googleelectioncenter.com/submissions/all/feed I see:
 <data> 
    <election>100</election> 
    <nid>110</nid> 
    <created>1283258529</created> 
    <updated>1283259148</updated> 
    <title>Street Segments for September 14 2010 District of Columbia Primary in All Counties, District of Columbia</title> 
    <link>http://www.googleelectioncenter.com/node/110</link> 
    <type>ft</type> 
    <resource>http://tables.googlelabs.com/DataSource?dsrcid=223958</resource> 
    <user>dana.spindler@gmail.com</user> 
    <firstname>Dana</firstname> 
    <lastname>Spindler</lastname> 
    <email>dana@votinginfoproject.org</email> 
    <organization>Voting Information Project</organization> 
    <website></website> 
    <template_nid>14</template_nid> 
    <promoted>False</promoted> 
  </data> 

but in
http://www.googleelectioncenter.com/submissions/all/feed/100 (IE the feed for 
just that election), I see:

 <data> 
    <election>100</election> 
    <nid>110</nid> 
    <created>1283258529</created> 
    <updated>1283259148</updated> 
    <title>Street Segments for September 14 2010 District of Columbia Primary in All Counties, District of Columbia</title> 
    <link>http://www.googleelectioncenter.com/node/110</link> 
    <type>ft</type> 
    <resource>http://tables.googlelabs.com/DataSource?dsrcid=240012</resource> 
    <user>dana.spindler@gmail.com</user> 
    <firstname>Dana</firstname> 
    <lastname>Spindler</lastname> 
    <email>dana@votinginfoproject.org</email> 
    <organization>Voting Information Project</organization> 
    <website></website> 
    <template_nid>14</template_nid> 
    <promoted>False</promoted> 
  </data> 

(note the table url is different in both cases, even though it's clearly the 
same record)

Original comment by dan...@google.com on 1 Sep 2010 at 9:02

GoogleCodeExporter commented 9 years ago
We are looking at this now.

Original comment by lxba...@gmail.com on 1 Sep 2010 at 11:17

GoogleCodeExporter commented 9 years ago
I've just tagged 1.12, which includes a fix for this issue. Thanks!

Original comment by diggersf on 2 Sep 2010 at 7:45

GoogleCodeExporter commented 9 years ago
So, i installed 1.12, cleared caches, etc, and the feed still has the same issue

www.googleelectioncenter.com/submissions/all/feed/100 shows the resource links 
as     
<resource>http://tables.googlelabs.com/DataSource?dsrcid=240012</resource> 

but both items really have different resource links.
www.googleelectioncenter.com/submissions/all/feed/ also shows all the resource 
links as  
  <resource>http://tables.googlelabs.com/DataSource?dsrcid=223958</resource> 

(and again, you can see this by looking at node 110, which will appear in both 
feeds)

Original comment by dan...@google.com on 2 Sep 2010 at 7:58

GoogleCodeExporter commented 9 years ago
The site does not seem to be updated to 1.12. Can you add my OpenID to the user 
#1 account on the site so I can investigate what is happening? My ID is 
will.developmentseed.org

You can add my ID at the following URL:
http://www.googleelectioncenter.com/user/1/openid

Original comment by diggersf on 2 Sep 2010 at 9:24

GoogleCodeExporter commented 9 years ago

Original comment by dan...@google.com on 20 Oct 2010 at 6:45