I have seen many posts about this and the answer seems to be to wrap whatever is causing it in a IfError function.
The problem is that this only occurs when "running the published version". It can't replicate in the edit mode, so hence I can't use "Monitor" to figure out what is causing it. In edit mode, running monitor, the only warnings I get are surrounding delegation which I get. Any tips of how to solve this.
I've looked at the onVisible...and I'm not sure I need to do add IfError anywhere here... see screen shot...it's a bunch of UpdateContext vars that I can't believe would cause this and then a ClearCollect andd
UpdateContext(
{
_showDeleteContainer: false,
_end: selectedRegulation.EndDate,
_updateTab: 1,
_showEnactDate: If(
IsBlank(selectedRegulation.EndDate),
false,
true
),
_showEffectiveDate: If(
IsBlank(selectedRegulation.DateEffective),
false,
true
),
locShowValidation: {
Hyperlink1: false,
Hyperlink2: false
},
hasChangedRegtitle: false,
hasChangedSeverity: false,
hasChangedOwner: false,
hasChangedSubjectMatter: false,
hasChangedDateProposed: false,
hasChangedDateEnacted: false,
hasChangedDateEffective: false,
hasChangedJurisdition: false,
hasChangedImpactedSubsidiary: false,
hasChangedHyperlink1: false,
hasChangedHyperlink2: false,
hasChangedRegsummary: false,
hasChangedImplications: false,
hasSelectedJurisdition: false,
hasSelectedImpactedSubsidiary: false,
hasSelectedSubjectMatter: false,
hasSelectedLawTopics: false,
hasSelectedRequirementTypes: false
}
);
Reset(InpNotes);
Reset(InpAction);
Reset(InpLatest);
Reset(DrpStatus);
Reset(DrpStage);
Reset(DrpProposedSASAction);
Reset(DrpIssuedStatement);
Reset(DrpSupplyChainPart);
Reset(DrpSupplyChain);
Reset(DrpScope);
Reset(inpURL1);
Reset(inpURL2);
Reset(datProposed);
Reset(datEnact);
Reset(DatEffective);
Reset(InpImplications);
Reset(inpRegulationSummary);
Reset(DrpSeverity_3);
Reset(CmbGeoCountries_1);
Reset(CmbOwner_1);
Reset(CmbGeoRegions_1);
Reset(TogGlobalReach);
Reset(cmbSubject);
Reset(CmbRequirementTypes);
Reset(DrpScope);
Reset(CmbLawTopics);
Reset(InpLawDescribe);
Reset(InpTriggers);
Reset(DrpSupplyChain);
Reset(InpSupplyChainDescribe);
Reset(DrpSupplyChainPart);
Reset(InpSASPutinPlace);
Reset(InpResponsibility);
Reset(InpReporting);
Reset(InpRegTitle_1);
Reset(chkEnact);
Reset(chkEffect);
UpdateContext(
{
defaultStatus: selectedRegulation.Status,
defaultStage: selectedRegulation.Stage,
defaultSASAction: selectedRegulation.mrcSASAction,
defaultAction: selectedRegulation.mrcAction,
defaultLatest: selectedRegulation.mrcLatestSummary,
defaultNote: selectedRegulation.mrcOtherNotes,
defaultProposedSASAction: selectedRegulation.mrcProposedActionID,
defaultIssuedStatement: selectedRegulation.mrcIssuedStatement,
formChanged: false
}
);
ClearCollect(
LawTopics,
ForAll(
Filter(
ForAll(
Split(
selectedRegulation.LawTopics,
","
),
{Result: ThisRecord.Value}
),
!IsBlank(Result)
),
{
ID: Result,
Title: LookUp(
ListDictionary,
ID = Value(Result),
Title
)
}
)
);
/* reset the change triggers */
UpdateContext(
{
changesMade: false,
changesMadeESG: false
}
);
As you can tell by the onVisible, the screen is pretty packed, so I'm at a loss to how to solve this. I already did a search for any "/" and didn't find any.