pangratz
7d175edcec
fix: ensure reloading an allocation doesn't result in an infinite loop
...
`allocation.reload()` has differnt semantics for reloading, as it will
reload the record in the background and immediately resolve [1].
By using the stores' findRecord and specifying `backgroundReload:
false`, we make sure we await the response from the server and hereby
have the complete record once we continue in the code.
Using `allocation.reoad()` causes and infinite loop when we upgrade
ember-data to 3.16 (and model fragments to 5.0.0-beta.2).
[1] This is, unless `shouldBackgroundReload` on the adapter returns
false, but it's true by default.
2021-11-04 16:27:40 +01:00
..
2021-03-24 15:34:46 -07:00
2021-03-01 09:46:22 -06:00
2021-02-17 15:01:44 -06:00
2021-04-13 16:40:17 -07:00
2021-08-10 10:35:36 -04:00
2020-06-10 16:18:42 -05:00
2021-10-12 16:36:10 -04:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2021-05-03 10:36:18 -05:00
2021-04-29 15:00:59 -05:00
2021-01-25 18:59:55 -08:00
2017-09-19 10:08:23 -05:00
2019-07-15 12:14:32 -05:00
2021-02-17 15:01:44 -06:00
2021-11-04 16:27:40 +01:00
2021-03-31 09:29:14 -07:00
2020-06-15 10:14:26 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-16 10:23:35 -07:00
2020-06-10 16:18:42 -05:00
2021-10-07 17:11:38 -04:00
2021-10-22 10:51:31 -04:00
2020-06-10 16:18:42 -05:00
2020-10-23 14:17:03 -07:00
2020-07-09 11:37:00 -05:00
2020-06-10 16:18:42 -05:00
2021-04-28 13:31:05 -05:00
2020-06-10 16:18:42 -05:00
2020-07-09 11:37:00 -05:00
2020-06-10 16:18:56 -05:00
2021-10-07 17:11:38 -04:00
2021-10-07 17:11:38 -04:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2021-10-22 10:05:48 -04:00
2021-02-17 15:01:44 -06:00
2021-04-29 15:00:59 -05:00
2020-07-09 11:37:00 -05:00
2021-04-20 08:33:16 -05:00
2020-06-10 16:18:42 -05:00
2020-07-29 19:07:24 -07:00
2021-04-28 13:31:05 -05:00
2021-04-28 13:31:05 -05:00
2021-03-24 15:09:47 -07:00
2021-02-17 15:01:44 -06:00
2020-06-10 16:18:42 -05:00
2020-07-09 11:37:00 -05:00
2020-10-15 16:05:58 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-15 10:15:11 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2020-07-09 11:37:00 -05:00
2021-02-23 10:18:58 -08:00
2020-06-18 22:08:28 -07:00
2021-02-17 15:01:44 -06:00
2020-06-16 10:23:36 -07:00
2021-03-24 13:52:52 -07:00
2020-07-28 12:59:14 -05:00
2020-06-17 14:50:55 -07:00
2021-07-20 16:24:42 -04:00
2020-06-30 17:09:52 -07:00
2021-10-07 17:11:38 -04:00
2020-06-10 16:18:42 -05:00
2020-06-10 16:18:42 -05:00
2021-10-21 13:12:33 -04:00
2021-01-27 10:24:03 -08:00
2021-04-20 08:33:16 -05:00