Recently our lightning app started failing with a very odd error.
I've created a very simple lightning app that reproduces that issue. So it looks like
length
property is not available anymore for attributes of String
type in Winter 20 sandbox.
Is anyone has the same issue? Is it a platform bug or security improvement?
<aura:application extends="force:slds">
<aura:attribute name="sampleString" type="String" default="" />
<aura:if isTrue="{!v.sampleString.length != 0}">
</aura:if>
UPD: After some investigation on different sandboxes. Found out this issue is reproduced only on Winter 20 Patch 8.6
The same code works fine on Winter 20 Patch 8.5