Skip to content

feat(fd2): Use one plant asset per bed #604

Open
0 of 7 issues completed
Open

Description

@braughtg

Feature

Currently a single plant asset can have a location and multiple beds in its locations array. This should be changed so that every plant asset appears in either just a location (e.g. ALF) or in a location and a single bed (e.g. ALF, ALF-2). If a plant is seeded or transplanted into multiple beds then it will have multiple seeding logs and multiple plant assets. This is a tracking issue for the sub-issues that will need to be solved in order to fully make this change.

Rationale

Currently the code for Direct Seeding, Cover Crop Seeding, and Transplanting operations create one plant asset for the operation. If the seeding or transplanting covers several beds, then each bed is listed in the locations of the associated log, which has its movement property set to true. Thus the single plant asset is seen as being in several beds.

While, reasonable this complicates the processing of termination events due to soil disturbances, and eventually harvests (#474), and possibly other activities in the future. This complication occurs because, if a termination event occurs for one bed (e.g. in a Soil Disturbance) but not all beds, then an activity log (with movement true) must be created to remove the terminated bed(s) from the locations of the plant asset. In addition, the ActivePlantAssetPicklist component must contain logic to split plant assets with multiple beds so that the user can pick beds independently.

Sub-issues

Sub-issues

0 of 7 Issues completed
Loading 7 sub-issues

Activity

  1. added theissue type on Apr 23, 2026
  2. added
    enhancement
    on Apr 23, 2026
  3. self-assigned this
    on May 6, 2026
  4. added
    question
    not ready for work
    on Oct 23, 2026
  5. changed the title [-]Use one plant asset per bed when planting or transplanting[/-] [+]feat(fd2): Use one plant asset per bed when planting or transplanting[/+] on Nov 20, 2026
  6. changed the title [-]feat(fd2): Use one plant asset per bed when planting or transplanting[/-] [+]feat(fd2): Use one plant asset per bed[/+] on Nov 20, 2026
  7. added
    fd2
    libraries
    components
    and removed
    question
    not ready for work
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

componentsenhancementfd2libraries

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions