1
0
Fork 0
Commit graph

10 commits

Author SHA1 Message Date
0edb50c2ad app/Jobs/ImportProfession.php: Add concrete exception classes. 2021-07-11 16:37:29 +02:00
89d88110f5 app/Jobs/ImportProfession.php: add support for specialization. 2021-07-11 15:32:35 +02:00
f105890494 app/Jobs/ImportProfession.php: fix a bug resulting in duplicate records instead of update existing.
We search for recipes by spell, but if a record existed before spell relationship was added. it's null and we wont find it, so we create a duplicated one.

This patch will also search for craft->name and update existing records.
2021-07-09 18:17:16 +02:00
21ff933939 app/Jobs/ImportProfession.php: Add support for recipe spell. 2021-07-08 20:30:52 +02:00
8e441ccc92 app/Jobs/ImportProfession.php: fix for broken format from exporter addon. 2021-07-01 15:24:39 +02:00
9da87b2b95 app/Jobs/ImportProfession.php: in getRecipe() sync the reagent's instead of only process them on recipe create. 2021-07-01 14:43:36 +02:00
16e84fd316 app/Jobs/ImportProfession.php: in processItems() don't check for external_id when upserting items (as that is not guaranteed to be unique) 2021-06-29 18:40:08 +02:00
8e887d1ebe app/Jobs/ImportProfession.php: should not use firstOrFail() when searching for items. as this will do an abort(404), that is very confusing. 2021-06-29 18:28:58 +02:00
e6ace7b61c app/Jobs/ImportProfession.php: in processItems() use sortBy() instead of sort(). 2021-06-29 15:54:03 +02:00
1e1aa7d461 initial commit 2021-06-28 17:33:29 +01:00