<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/app/models, branch improve-referentials-overview</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Merge pull request #339 from af83/5878-fix-ComplianceChecksController-show</title>
<updated>2018-02-27T22:45:02+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2018-02-27T22:45:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=59761d65be29ce7d1d9c72140e657b994cd28258'/>
<id>59761d65be29ce7d1d9c72140e657b994cd28258</id>
<content type='text'>
5878 Add ComplianceCheck#show</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
5878 Add ComplianceCheck#show</pre>
</div>
</content>
</entry>
<entry>
<title>Fix prerequisite access for compliance_check and compliance_control Refs #5878 @1</title>
<updated>2018-02-27T22:08:48+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2018-02-27T22:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ca9fd5d4f09c04875092904f4c1961e3e82b6c3b'/>
<id>ca9fd5d4f09c04875092904f4c1961e3e82b6c3b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refs #5878; Remove hard link between a ComplianceCheck and the associated ComplianceControl</title>
<updated>2018-02-27T15:30:40+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-27T15:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ff9f6fa9674a4a50da480b550611cd1ce9d84c23'/>
<id>ff9f6fa9674a4a50da480b550611cd1ce9d84c23</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reorder route_stop_points when creating Chouette::StopPoint in route merge. Refs #6040</title>
<updated>2018-02-27T11:13:23+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-27T11:13:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=3962a79ffd3780bcd2107db6e4d43e41e44c3af1'/>
<id>3962a79ffd3780bcd2107db6e4d43e41e44c3af1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs 5878; Add ComplianceCheck#show</title>
<updated>2018-02-23T15:32:35+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-23T15:32:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=0a91ae5d80e476f967160e1987cc7e63beabea94'/>
<id>0a91ae5d80e476f967160e1987cc7e63beabea94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a spec to verify to Referential migration count after creation. Refs #6010</title>
<updated>2018-02-22T18:18:26+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T18:18:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=02cd9a9e5d05ab9858e6de27e38cd6b56b919d69'/>
<id>02cd9a9e5d05ab9858e6de27e38cd6b56b919d69</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>VehicleJourney#in_purchase_window: Use table namespace in query</title>
<updated>2018-02-22T16:11:48+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-02-22T16:05:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ea84163e3cfcb721c184772721373ccbbd6b337a'/>
<id>ea84163e3cfcb721c184772721373ccbbd6b337a</id>
<content type='text'>
We were getting this errorwhen filtering by purchase window on the
`ReferentialVehicleJourneys#index` page.

An example of a filter query that triggered the error:
http://stif-boiv.dev:3000/referentials/4/vehicle_journeys?utf8=✓&amp;q[published_journey_name_or_objectid_cont]=&amp;q[company_id_eq_any][]=&amp;q[route_line_id_eq]=&amp;q[published_journey_name_gteq]=&amp;q[published_journey_name_lteq]=&amp;q[stop_area_ids][]=&amp;q[purchase_window][start_date(3i)]=12&amp;q[purchase_window][start_date(2i)]=1&amp;q[purchase_window][start_date(1i)]=2018&amp;q[purchase_window][end_date(3i)]=15&amp;q[purchase_window][end_date(2i)]=1&amp;q[purchase_window][end_date(1i)]=2019&amp;q[time_table][start_date(3i)]=&amp;q[time_table][start_date(2i)]=&amp;q[time_table][start_date(1i)]=&amp;q[time_table][end_date(3i)]=&amp;q[time_table][end_date(2i)]=&amp;q[time_table][end_date(1i)]=&amp;commit=Filtrer

    ActiveRecord::StatementInvalid in ReferentialVehicleJourneys#index

    Showing stif-boiv/app/views/referential_vehicle_journeys/_filters.html.slim where line #24 raised:

    PG::AmbiguousColumn: ERROR:  column reference "id" is ambiguous
    LINE 1: ...RE "vehicle_journeys"."journey_category" = 0 AND (id IN (SEL...
                                                                 ^
    : SELECT "public"."lines".* FROM "public"."lines" WHERE (id IN (SELECT  routes.line_id FROM "vehicle_journeys" INNER JOIN "routes" ON "routes"."id" = "vehicle_journeys"."route_id" WHERE "vehicle_journeys"."journey_category" = 0 AND (id IN (SELECT DISTINCT vehicle_journeys.id FROM "purchase_windows" INNER JOIN "purchase_windows_vehicle_journeys" ON "purchase_windows_vehicle_journeys"."purchase_window_id" = "purchase_windows"."id" INNER JOIN "vehicle_journeys" ON "vehicle_journeys"."id" = "purchase_windows_vehicle_journeys"."vehicle_journey_id" AND "vehicle_journeys"."journey_category" = 0 WHERE (daterange('2018-01-12', '2019-01-16') &amp;&amp; any (date_ranges))))  ORDER BY "vehicle_journeys"."published_journey_name" ASC LIMIT 10 OFFSET 0))

    Extracted source (around line #24):

              class: 'control-label'
          .form-inline.filter_menu
            = f.input :route_line_id_eq,
                as: :select,
                include_blank: t(".all"),
                collection: @vehicle_journeys.lines,

    Trace of template inclusion: app/views/referential_vehicle_journeys/index.html.slim

We're trying to match `VehicleJourney`s here, so qualify the `id` column
with the table name to fix the error.

Refs #5943
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were getting this errorwhen filtering by purchase window on the
`ReferentialVehicleJourneys#index` page.

An example of a filter query that triggered the error:
http://stif-boiv.dev:3000/referentials/4/vehicle_journeys?utf8=✓&amp;q[published_journey_name_or_objectid_cont]=&amp;q[company_id_eq_any][]=&amp;q[route_line_id_eq]=&amp;q[published_journey_name_gteq]=&amp;q[published_journey_name_lteq]=&amp;q[stop_area_ids][]=&amp;q[purchase_window][start_date(3i)]=12&amp;q[purchase_window][start_date(2i)]=1&amp;q[purchase_window][start_date(1i)]=2018&amp;q[purchase_window][end_date(3i)]=15&amp;q[purchase_window][end_date(2i)]=1&amp;q[purchase_window][end_date(1i)]=2019&amp;q[time_table][start_date(3i)]=&amp;q[time_table][start_date(2i)]=&amp;q[time_table][start_date(1i)]=&amp;q[time_table][end_date(3i)]=&amp;q[time_table][end_date(2i)]=&amp;q[time_table][end_date(1i)]=&amp;commit=Filtrer

    ActiveRecord::StatementInvalid in ReferentialVehicleJourneys#index

    Showing stif-boiv/app/views/referential_vehicle_journeys/_filters.html.slim where line #24 raised:

    PG::AmbiguousColumn: ERROR:  column reference "id" is ambiguous
    LINE 1: ...RE "vehicle_journeys"."journey_category" = 0 AND (id IN (SEL...
                                                                 ^
    : SELECT "public"."lines".* FROM "public"."lines" WHERE (id IN (SELECT  routes.line_id FROM "vehicle_journeys" INNER JOIN "routes" ON "routes"."id" = "vehicle_journeys"."route_id" WHERE "vehicle_journeys"."journey_category" = 0 AND (id IN (SELECT DISTINCT vehicle_journeys.id FROM "purchase_windows" INNER JOIN "purchase_windows_vehicle_journeys" ON "purchase_windows_vehicle_journeys"."purchase_window_id" = "purchase_windows"."id" INNER JOIN "vehicle_journeys" ON "vehicle_journeys"."id" = "purchase_windows_vehicle_journeys"."vehicle_journey_id" AND "vehicle_journeys"."journey_category" = 0 WHERE (daterange('2018-01-12', '2019-01-16') &amp;&amp; any (date_ranges))))  ORDER BY "vehicle_journeys"."published_journey_name" ASC LIMIT 10 OFFSET 0))

    Extracted source (around line #24):

              class: 'control-label'
          .form-inline.filter_menu
            = f.input :route_line_id_eq,
                as: :select,
                include_blank: t(".all"),
                collection: @vehicle_journeys.lines,

    Trace of template inclusion: app/views/referential_vehicle_journeys/index.html.slim

We're trying to match `VehicleJourney`s here, so qualify the `id` column
with the table name to fix the error.

Refs #5943
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #319 from af83/5609_slug_format</title>
<updated>2018-02-22T09:58:12+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T09:58:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=1e137b3347660e8cea9d5c154111ef368fc60609'/>
<id>1e137b3347660e8cea9d5c154111ef368fc60609</id>
<content type='text'>
Avoid problem with numeric in slug. Refs #5609 </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid problem with numeric in slug. Refs #5609 </pre>
</div>
</content>
</entry>
<entry>
<title>Keep original slug format (with _). Avoid full numeric slug. Refs #5609</title>
<updated>2018-02-22T09:56:39+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T09:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=8aab474b8ad555b4d5f8e28c0af2f6c72741e317'/>
<id>8aab474b8ad555b4d5f8e28c0af2f6c72741e317</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move importers outputs in logs</title>
<updated>2018-02-21T15:18:34+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-21T07:08:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=70396ae000bfc5c2b792c17198efc2a8d87d9ebf'/>
<id>70396ae000bfc5c2b792c17198efc2a8d87d9ebf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
