Skip to content

Encounter Annotation Export exports incorrect lifeStage #862

@JasonWildMe

Description

@JasonWildMe

Expected Behavior
Encounter Annotation Export (EncounterAnnotationExportExcelFile.java) lists a column heading as Encounter.lifeStage and should expoirt the related Encounter.lifeStage value as other export formats in Wildbook do.

Current Behavior
Encounter Annotation Export (EncounterAnnotationExportExcelFile.java) lists a column heading as Encounter.lifeStage but confusingly actually exports the last known lifeStage of the related MarkedIndividual:

Method markedIndividualLifeStageName = MarkedIndividual.class.getMethod(
"getLastLifeStage");

This has caused user confusion.

Testing Notes
User the Encounter lifeStage as the target value to be exported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething's broken!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions