diff options
Diffstat (limited to 'src/hydrilla/proxy/state_impl')
-rw-r--r-- | src/hydrilla/proxy/state_impl/items.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/state_impl/items.py b/src/hydrilla/proxy/state_impl/items.py index 010b8ca..6a41300 100644 --- a/src/hydrilla/proxy/state_impl/items.py +++ b/src/hydrilla/proxy/state_impl/items.py @@ -290,7 +290,8 @@ class ConcreteMappingRef(st.MappingRef): if version_id_to_activate is not None: new_active_version_id = version_id_to_activate - elif enabled == st.EnabledStatus.ENABLED: + elif enabled == st.EnabledStatus.ENABLED and \ + old_active_version_id is not None: new_active_version_id = str(old_active_version_id) else: new_active_version_id = None |