Merge branch 'bugfix/CXTDT-135642' into 'develop'
remove KeySourceModel at openPage action level See merge request BPHV_MIPS/mvm_core_ui!630
This commit is contained in:
commit
b1cc1b3b93
@ -35,6 +35,16 @@
|
|||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)openPageAction:(NSDictionary *)actionInformation additionalData:(NSDictionary *)additionalData delegateObject:(DelegateObject *)delegateObject {
|
||||||
|
// Cleanup the source model data to prevent it from being accidentally auto-forwarded in openPage network requests by blind additionalData insertions. (https://onejira.verizon.com/browse/CXTDT-135642, https://onejira.verizon.com/browse/CXTDT-136001).
|
||||||
|
if (additionalData[KeySourceModel]) {
|
||||||
|
NSMutableDictionary *cleanedData = [additionalData mutableCopy];
|
||||||
|
[cleanedData removeObjectForKey:KeySourceModel];
|
||||||
|
additionalData = cleanedData;
|
||||||
|
}
|
||||||
|
[super openPageAction:actionInformation additionalData:additionalData delegateObject:delegateObject];
|
||||||
|
}
|
||||||
|
|
||||||
- (void)popupAction:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData delegateObject:(nullable DelegateObject *)delegateObject {
|
- (void)popupAction:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData delegateObject:(nullable DelegateObject *)delegateObject {
|
||||||
// Perform a popup.
|
// Perform a popup.
|
||||||
NSString *pageTypeForPopup = [actionInformation stringForKey:KeyPageType];
|
NSString *pageTypeForPopup = [actionInformation stringForKey:KeyPageType];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user