Digital PCT265 story MVAPCT-48 - Bug fixes and optimizations
This commit is contained in:
parent
25b79530eb
commit
64aba6a100
@ -83,7 +83,7 @@ open class ActionOpenPageHandler: MVMCoreJSONActionHandlerProtocol {
|
||||
}
|
||||
// Adds any client parameters to the request parameters.
|
||||
if let parametersToFetch = model.clientParameters,
|
||||
let fetchedParameters = try await ClientParameterHandler().getClientParameters(
|
||||
let fetchedParameters = await ClientParameterHandler().getClientParameters(
|
||||
with: parametersToFetch,
|
||||
requestParameters: requestParameters.parameters as? [String : Any] ?? [:],
|
||||
actionId: MVMCoreActionHandler.getUUID(additionalData: additionalData) ?? "unknown",
|
||||
|
||||
@ -69,6 +69,7 @@ public extension MVMCoreLoadRequestOperation {
|
||||
return nil
|
||||
}
|
||||
MVMCoreLoggingHandler.logDebugMessage(withDelegate: "\(type(of: self)): Navigated to controller. pageType:\(pageType) controllerType:\(String(describing: controllerType))")
|
||||
stopLoadingAnimationIfNeeded()
|
||||
return viewController
|
||||
}
|
||||
|
||||
|
||||
@ -19,7 +19,6 @@
|
||||
@interface MVMCoreLoadRequestOperation : MVMCoreOperation
|
||||
|
||||
@property (nullable, strong, nonatomic) MVMCoreRequestParameters *requestParameters;
|
||||
/// For load objects as in input parameter. Does not attach self generated load objects.
|
||||
@property (nullable, strong, nonatomic) MVMCoreLoadObject *loadObject;
|
||||
@property (nullable, strong, nonatomic) NSDictionary *dataForPage;
|
||||
@property (nullable, strong, nonatomic) DelegateObject *delegateObject;
|
||||
|
||||
@ -147,6 +147,7 @@
|
||||
|
||||
// Create a load object from any data we fetched.
|
||||
MVMCoreLoadObject *loadObject = [self createLoadObjectWithPageFromCache:pageFromCache modulesFromCache:modulesFromCache];
|
||||
self.loadObject = loadObject;
|
||||
|
||||
// Check if we need to go to server for missing data.
|
||||
MVMCoreRequestParameters *requestForMissingData = [MVMCoreLoadRequestOperation createRequestForDataWithLoadObject:loadObject];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user