<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/app/services, branch 6979-ruby-controls-sets</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 #7031; Fix bug in consolidated view</title>
<updated>2018-05-31T09:37:28+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-31T09:37:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=255c8c3a86f86f64eb04a2e8ed7e036f56d505d0'/>
<id>255c8c3a86f86f64eb04a2e8ed7e036f56d505d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #7031; Fix consolidated view</title>
<updated>2018-05-28T08:27:10+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-28T08:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=b060a1901a18e24e8925cf65ca566d75c03cee32'/>
<id>b060a1901a18e24e8925cf65ca566d75c03cee32</id>
<content type='text'>
And remove n+1 queries
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And remove n+1 queries
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #7031; Page loading optimizations</title>
<updated>2018-05-17T14:18:46+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-17T14:18:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=a90a7cbf003ded70478eec6afdfee2581a06eaed'/>
<id>a90a7cbf003ded70478eec6afdfee2581a06eaed</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 #553 from af83/6884-tomtom-matrix--handle-error-when-response-doesn,t-inclu</title>
<updated>2018-05-16T13:42:24+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2018-05-16T13:42:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=223d988ef59e562b201cac8391c397630c8953e5'/>
<id>223d988ef59e562b201cac8391c397630c8953e5</id>
<content type='text'>
Handle API error(s) in Tomtom matrix. Fixes #6884</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Handle API error(s) in Tomtom matrix. Fixes #6884</pre>
</div>
</content>
</entry>
<entry>
<title>refs #6923; small improvements</title>
<updated>2018-05-07T06:26:07+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-07T06:26:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=2c619e4aa072950681be04a603f91597dfcca088'/>
<id>2c619e4aa072950681be04a603f91597dfcca088</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6923; Implement a consolidated view</title>
<updated>2018-05-04T14:39:51+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-05-04T14:39:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=08aa082e941db7e23d91edb8e48bead2b72e9fe3'/>
<id>08aa082e941db7e23d91edb8e48bead2b72e9fe3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move `TomTom::Matrix::RemoteError` to`TomTom::Errors::MatrixRemoteError`</title>
<updated>2018-05-04T10:54:25+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-04T10:49:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9c442cd66c7d12266ba53e85949f775f6b842d2d'/>
<id>9c442cd66c7d12266ba53e85949f775f6b842d2d</id>
<content type='text'>
I previously tried to correct a circular dependency problem in
a057276129b1f62b811743db3b8f867a05241ed3, but that didn't fix it (it was
intermittent, and came back).

After some wrangling, I've now deduced with some confidence that the
problem comes from `RouteWayCostCalculator`, which used
`TomTom::Matrix::RemoteError`. From the way it looks, this seems to mess
up the Rails autoloader since `tom_tom.rb` will try to load the `Matrix`
class from the `TomTom.matrix` call above. Or something.

In an attempt to fix the circular dependency error for real this time,
move the error class to a completely separate module from `Matrix`, and
refer to this when we need to use the error class.

Refs #6884
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I previously tried to correct a circular dependency problem in
a057276129b1f62b811743db3b8f867a05241ed3, but that didn't fix it (it was
intermittent, and came back).

After some wrangling, I've now deduced with some confidence that the
problem comes from `RouteWayCostCalculator`, which used
`TomTom::Matrix::RemoteError`. From the way it looks, this seems to mess
up the Rails autoloader since `tom_tom.rb` will try to load the `Matrix`
class from the `TomTom.matrix` call above. Or something.

In an attempt to fix the circular dependency error for real this time,
move the error class to a completely separate module from `Matrix`, and
refer to this when we need to use the error class.

Refs #6884
</pre>
</div>
</content>
</entry>
<entry>
<title>RouteWayCostCalculator: Don't update `costs` if response errors</title>
<updated>2018-05-02T17:27:39+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-05-02T17:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=d53978539c71d598d7cb5f47ad9e3f30a83eb06a'/>
<id>d53978539c71d598d7cb5f47ad9e3f30a83eb06a</id>
<content type='text'>
If there's an API error, we shouldn't update the route's `costs` field.
Let's say we've already calculated some costs for a route A. We then edit
and re-save A, which triggers a recalculation of the costs. Now the
TomTom API responds with an error. We don't want to overwrite our
existing costs with an empty array because they could still be useful.
In this case, we should instead keep the existing costs we already had.

To achieve this, move the `RemoteError` rescue into
`RouteWayCostCalculator`, leaving the error unhandled in
`TomTom.matrix`.

Refs #6884
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If there's an API error, we shouldn't update the route's `costs` field.
Let's say we've already calculated some costs for a route A. We then edit
and re-save A, which triggers a recalculation of the costs. Now the
TomTom API responds with an error. We don't want to overwrite our
existing costs with an empty array because they could still be useful.
In this case, we should instead keep the existing costs we already had.

To achieve this, move the `RemoteError` rescue into
`RouteWayCostCalculator`, leaving the error unhandled in
`TomTom.matrix`.

Refs #6884
</pre>
</div>
</content>
</entry>
<entry>
<title>:fire: log</title>
<updated>2018-04-09T10:16:07+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-09T10:16:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=cb3a2fecf94c658448a6886529efc417f8d8dd39'/>
<id>cb3a2fecf94c658448a6886529efc417f8d8dd39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #6360; Add checks on calendars during WorkbenchImport</title>
<updated>2018-04-09T09:22:40+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-09T09:20:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=27442a9ffe40d0f548b1dc99ab917a8d8b0a02a2'/>
<id>27442a9ffe40d0f548b1dc99ab917a8d8b0a02a2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
