Digital PCT265 defect CXTDT-546577 - Remove transcendsPageUpdates to prevent multiple replaces from muliple ReplaceMoleculeBehaviors listening and replacing.

This commit is contained in:
Hedden, Kyle Matthew 2024-04-23 09:40:22 -04:00
parent 061959a7eb
commit 652fcddcda
3 changed files with 29 additions and 2 deletions

View File

@ -21,8 +21,6 @@ public class ReplaceableMoleculeBehavior: PageMoleculeTransformationBehavior {
private var observingForResponses: NSObjectProtocol?
private var delegateObject: MVMCoreUIDelegateObject?
public var transcendsPageUpdates: Bool { true }
public required init(model: PageBehaviorModelProtocol, delegateObject: MVMCoreUIDelegateObject?) {
moleculeIds = (model as! ReplaceableMoleculeBehaviorModel).moleculeIds
let shouldListenForListUpdates = delegateObject?.moleculeListDelegate != nil

View File

@ -0,0 +1,13 @@
//
// mvmcore_ui.xcconfig
// MVMCoreUI
//
// Created by Kyle Hedden on 4/23/24.
// Copyright © 2024 Verizon Wireless. All rights reserved.
//
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
// Refer back to the workspace settings if they exist.
#include? "../../../workspaceSettings.xcconfig"

View File

@ -0,0 +1,16 @@
//
// mvmcore_ui_dev.xcconfig
// MVMCoreUI
//
// Created by Kyle Hedden on 4/23/24.
// Copyright © 2024 Verizon Wireless. All rights reserved.
//
// Configuration settings file format documentation can be found at:
// https://help.apple.com/xcode/#/dev745c5c974
SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) LOGGING
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) LOGGING=1
// Refer back to the workspace settings if they exist.
#include? "../../../workspaceSettings.xcconfig"