Opened 14 months ago

Last modified 14 months ago

#6709 new defect

Upgrade/Promotion to random phenotype gives random chance of correctness.

Reported by: Freagarach Owned by:
Priority: Should Have Milestone: Backlog
Component: Simulation Keywords:
Cc: Patch:

Description

Upgrading or promoting an entity to a template with a random phenotype may cause that entity to change its phenotype even though that may not be desired.

It may better to not have random stuff in templates.

Change History (2)

comment:1 by Freagarach, 14 months ago

In 27508:

Fix typo in foundation code.

Introduced in r25832 / rP25832.
Refs. #6709

Differential revision: https://code.wildfiregames.com/D4909
Comments by: @Stan

comment:2 by Stan, 14 months ago

I think we could just check if the promotion template contains the parent's phenotypr explicitely and if not go random.

Note: See TracTickets for help on using tickets.