ActiveObjects removes and refetches Enum values from the database

Description

See: net.java.ao.EntityManager#find
The following line will put a String value into the cache layer

This causes net.java.ao.EntityProxy#invokeGetter to remove it from the map and refetch it from the database for no reason. See block which starts with:

I believe the fix is calling:

in the following block in the EntityManager:

Environment

None

Testing Notes

None

Assignee

Unassigned

Reporter

jhinch

Labels

None

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Story Points

0.5

Components

Priority

Critical
Configure