Michael Stenta
1d2320355b
Issue #3219701 : Log migration of quantity reference Error: Unsupported operand types in SubProcess->transform()
2021-06-19 08:36:20 -04:00
Michael Stenta
4d59cd69c7
Do not archive areas without an area type during migration.
2021-06-05 14:53:17 -04:00
Michael Stenta
5c6856fe0c
Add "Migrated from farmOS 1.x on [date]" revision log messages to migrated records.
2021-06-05 14:53:17 -04:00
Michael Stenta
360e133164
Add Birth log type and migration.
2021-05-26 12:19:05 -04:00
Michael Stenta
0b56e1469d
Move migration source for the d7 sensor asset to farm_migrate.
2021-04-01 11:22:27 -04:00
paul121
74d72f3171
Rename data_stream_data_legacy to data_stream_legacy.
2021-04-01 11:22:27 -04:00
paul121
1a92ffe4a0
Add a migration for sensor listener data.
2021-04-01 11:22:27 -04:00
paul121
7bed6d3ae9
Add a migration that creates a legacy listener data stream for each listener sensor.
2021-04-01 11:22:27 -04:00
paul121
87b75501e6
Create a sensor data migration group.
2021-04-01 11:22:27 -04:00
paul121
38a9597296
Alias field_data_field_farm_inventory as fdffi.
2021-03-29 08:35:18 -07:00
paul121
54ddd93277
Fix class description.
2021-03-27 14:43:53 -04:00
paul121
039ece7f93
Migrate log inventories.
2021-03-27 14:43:53 -04:00
paul121
d44751e7a0
Provide a migration source for log inventories.
2021-03-27 14:43:53 -04:00
paul121
5a6ba4d55b
Include log_inventories in the FarmLog source plugin.
2021-03-25 18:31:09 -04:00
Michael Stenta
1de7f4ed77
Improvements to farm_migrate_role migration config.
...
These changes help to support custom/contrib modules that want
to provide their own role migrations.
- Use skip_map_on_empty process plugin to ensure that skipped rows are not added to the map tables.
- Set a "role" pseudo-field, which is used by role ID matching.
- Move role ID matching process to farm_migrate_role migration group shared config.
- Move farm_migrate_role migration to optional config, dependent on farm_role_roles module.
2021-03-18 15:49:14 -04:00
Michael Stenta
7c16a8db46
Add a skip_map_on_empty process plugin that prevents mappings from being saved when a row is skipped.
2021-03-18 15:49:14 -04:00
Michael Stenta
f3c735b5c9
Issue #3176503 : Migrate soil names field data (concat to notes).
2021-03-17 08:17:16 -04:00
Michael Stenta
3e19eb86b2
Migrate price quantities with a measure of value.
2021-03-12 20:34:08 -05:00
Michael Stenta
a39c667049
Move CreateQuantity to farm_migrate.
2021-03-12 08:15:56 -05:00
paul121
fc3f00883f
Only create price quantities if price data was provided.
2021-03-12 08:15:56 -05:00
paul121
a00d0b32f6
Migrate purchase and sale log values to a price quantity.
2021-03-12 08:15:56 -05:00
Michael Stenta
19dc89750f
Add Lot number field (with migration) to Sale and Purchase logs.
2021-03-11 21:39:18 -05:00
Michael Stenta
07c6e32d14
Revert "Make farm_migrate depend on farm_entity."
...
This reverts commit 6dc2f82c24aae2c4b11f037e73f15ccf81d167e0.
2021-03-05 14:16:06 -05:00
Michael Stenta
c8cf3ae94d
Revert "The farm_migrate module depends on farm_quantity_standard."
...
This reverts commit 04f3af4dc530998815b60048befb3da61bb439b3.
2021-03-05 14:16:06 -05:00
Michael Stenta
07d03f617b
Move farm_migrate_quantity_standard to optional config.
2021-03-05 14:16:06 -05:00
paul121
97b744207e
The farm_migrate module depends on farm_quantity_standard.
2021-03-05 14:16:06 -05:00
Michael Stenta
078826205a
Rename quantity migration to farm_migrate_quantity_standard.
2021-03-05 14:16:05 -05:00
paul121
b8f8a7402f
Migrate quantities to the standard quantity type.
2021-03-05 14:16:05 -05:00
paul121
1840292885
Make farm_migrate depend on farm_entity.
2021-03-05 14:16:05 -05:00
Michael Stenta
aff6c154fc
Add log migration processing for the group and is_group_assignment fields.
2021-03-01 09:55:58 -05:00
Michael Stenta
7c9a7983d9
Move geometry and is_movement process fields below location in farm_migrate_log migration group.
2021-03-01 09:55:58 -05:00
Michael Stenta
b70f2f8b45
Load group assignment information in the FarmLog D7 migration source.
2021-03-01 09:55:58 -05:00
Michael Stenta
9bb01ab1ef
Split FarmLog::prepareRow() method into prepareMovement() and prepareQuantity() methods.
2021-03-01 09:55:58 -05:00
Michael Stenta
4041a46715
Rename the farm_migrate group to farm_migrate_config.
2021-03-01 08:15:46 -05:00
Michael Stenta
0555d774ae
Split file migrations out to a farm_migrate_file migration group to resolve dependency issues.
2021-03-01 08:15:46 -05:00
Michael Stenta
d38a5eb1d9
Split farm_migrate_user and farm_migrate_role out to their own migration groups.
...
This allows contrib modules to provide their own role migrations by replicating the farm_migrate_role config.
2021-02-25 12:58:32 -05:00
Michael Stenta
74effb652c
Migrate farmOS roles.
2021-02-25 12:48:27 -05:00
Michael Stenta
cfa121e461
Migrate 1.x system of measurement variable to 2.x quantity config.
2021-02-22 21:02:41 -05:00
Michael Stenta
9023567026
Run parent::prepareRow($row) before performing our own modifications in FarmLog.php.
2021-02-16 09:49:27 -05:00
Michael Stenta
6fcc4c4c58
If a migrated log has movement geometry but no areas, save the geometry, store a message, and allow the migration to continue.
2021-02-16 09:38:44 -05:00
Michael Stenta
c645cc4718
Remove redundant call to getFieldValues().
2021-02-16 08:55:50 -05:00
Michael Stenta
063173d459
Fix queries in D7 FarmLog migration areas/geometry lookup to prevent cross-referencing unintended entity types.
2021-02-16 08:53:22 -05:00
Michael Stenta
14e4912420
Link to "Movement logs" section of migration docs from warning message.
2021-02-16 06:06:09 -05:00
Michael Stenta
9fb8009586
Fix is_movement mapping in Log migrations.
2021-02-16 06:05:38 -05:00
Symbioquine
3c7886dbc5
Fix quantity queries in migration to avoid extraneous rows
...
**Why?** Drupal 7 allows field re-use which means there may
be extra unrelated rows in addition to the ones pertaining
to the core logs.
2021-02-14 14:07:41 -05:00
Michael Stenta
c0b2431a4c
Use an Entity Reference Revisions field for Quantities.
2021-02-05 12:23:20 -05:00
Michael Stenta
6010d3af8f
Create a dedicated migration for Quantities.
2021-02-05 12:23:20 -05:00
Michael Stenta
1cd75d2fac
Consolidate all quantity migrations into farm_migrate_log migration group.
2021-02-05 12:23:20 -05:00
paul121
667531d3d3
Inherit log uid, created and changed properties when migrating quantities.
2021-02-05 12:23:20 -05:00
paul121
99e8fb77fa
Fix typo in comment of log migrations.
2021-02-05 12:23:20 -05:00