<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core, branch 5940-add-missing-flash</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Refs #5940; Add missing flash after Calendar creation</title>
<updated>2018-02-27T07:27:12+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-27T07:26:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=1b0d2b5c591e9b4a5b56ae6f133cd93cc033f765'/>
<id>1b0d2b5c591e9b4a5b56ae6f133cd93cc033f765</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix small bug on referential overview</title>
<updated>2018-02-23T10:47:06+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-23T10:47:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=206bf218e1b84dbe53683ec2e3f983cd30f7ded1'/>
<id>206bf218e1b84dbe53683ec2e3f983cd30f7ded1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't load activerecord-nulldb-adapter if RAILS_DB_ADAPTER isn't nulldb. Refs #6010</title>
<updated>2018-02-22T18:21:29+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T18:21:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=7e3065d47441f3e4fc41678a80737eef12c50c84'/>
<id>7e3065d47441f3e4fc41678a80737eef12c50c84</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>Merge pull request #333 from af83/5943-referential-vehicle_journeys-index--query-error-when-fi</title>
<updated>2018-02-22T16:17:35+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T16:17:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=81ad0ea87ad2986cbad2a4ba98f2c2be194e0cee'/>
<id>81ad0ea87ad2986cbad2a4ba98f2c2be194e0cee</id>
<content type='text'>
VehicleJourney#in_purchase_window: Use table namespace in query. Refs #5943 </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
VehicleJourney#in_purchase_window: Use table namespace in query. Refs #5943 </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>Return false in has_feature? when no organisation is defined. Refs #6007</title>
<updated>2018-02-22T14:39:11+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T14:39:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=435b6682d70e637e7911f19e94977d1146a63b1b'/>
<id>435b6682d70e637e7911f19e94977d1146a63b1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Typo</title>
<updated>2018-02-22T13:37:58+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-22T13:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=451443c3aa0eebaa411d005e20253e98daeb391d'/>
<id>451443c3aa0eebaa411d005e20253e98daeb391d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #330 from af83/5993-enhance-detailed-calendar</title>
<updated>2018-02-22T12:48:01+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T12:48:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9676be313990b08f402d096ba267980c14c69b74'/>
<id>9676be313990b08f402d096ba267980c14c69b74</id>
<content type='text'>
Homogenize calendars display. Refs #5993 </content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Homogenize calendars display. Refs #5993 </pre>
</div>
</content>
</entry>
<entry>
<title>Ignore not ready Referentials in apartment tenant names. Refs #6004</title>
<updated>2018-02-22T12:42:56+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-02-22T12:42:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=eb62107ac3d8e9bf95c39c888ea44543abc0d112'/>
<id>eb62107ac3d8e9bf95c39c888ea44543abc0d112</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
