artsy / energy-legacy

LEGACY - Artsy Folio, The Partner iPhone / iPad app.
https://folio.artsy.net
MIT License
210 stars 45 forks source link

Fix NSRangeException in - [Artwork(HTMLTexts) emailerize:withTitle:], line 23 #326

Open artsyit opened 5 years ago

artsyit commented 5 years ago

Version: 2.6.0 (2018.04.07.06) | sy.art.folio

Stacktrace

Artwork(HTMLTexts);emailerize:withTitle:;Artwork+HTMLTexts.m;23
Artwork(HTMLTexts);emailSeries;Artwork+HTMLTexts.m;98
GRMustacheKeyAccess;valueForMustacheKey:inObject:unsafeKeyAccess:;GRMustacheKeyAccess.m;164
GRMustacheExpressionInvocation;visitScopedExpression:error:;GRMustacheExpressionInvocation.m;123
GRMustacheRenderingEngine;visitTag:expression:escapesHTML:error:;GRMustacheRenderingEngine.m;188
GRMustacheRenderingEngine;visitTemplateASTNodes:error:;GRMustacheRenderingEngine.m;344
GRMustacheRenderingEngine;visitTemplateAST:error:;GRMustacheRenderingEngine.m;119
GRMustacheRenderingEngine;renderTemplateAST:HTMLSafe:error:;GRMustacheRenderingEngine.m;78
GRMustacheRenderingEngine;visitTag:expression:escapesHTML:error:;GRMustacheRenderingEngine.m;0
GRMustacheRenderingEngine;visitTemplateASTNodes:error:;GRMustacheRenderingEngine.m;344
GRMustacheRenderingEngine;visitTemplateAST:error:;GRMustacheRenderingEngine.m;119
GRMustacheRenderingEngine;renderTemplateAST:HTMLSafe:error:;GRMustacheRenderingEngine.m;78
GRMustacheRenderingEngine;visitTag:expression:escapesHTML:error:;GRMustacheRenderingEngine.m;0
GRMustacheRenderingEngine;visitTemplateASTNodes:error:;GRMustacheRenderingEngine.m;344
GRMustacheRenderingEngine;visitTemplateAST:error:;GRMustacheRenderingEngine.m;119
GRMustacheRenderingEngine;renderTemplateAST:HTMLSafe:error:;GRMustacheRenderingEngine.m;78
-;GRMustacheRenderWithIterationSupportNSObject;GRMustacheRendering.m;498
-;GRMustacheRenderWithIterationSupportNSFastEnumeration;GRMustacheRendering.m;541
GRMustacheRenderingEngine;visitTag:expression:escapesHTML:error:;GRMustacheRenderingEngine.m;0
GRMustacheRenderingEngine;visitTemplateASTNodes:error:;GRMustacheRenderingEngine.m;344
GRMustacheRenderingEngine;visitTemplateAST:error:;GRMustacheRenderingEngine.m;119
GRMustacheRenderingEngine;renderTemplateAST:HTMLSafe:error:;GRMustacheRenderingEngine.m;78
GRMustacheTemplate;renderContentWithContext:HTMLSafe:error:;GRMustacheTemplate.m;124
AREmailComposer;body;AREmailComposer.m;183
AREmailComposer;presentToUser;AREmailComposer.m;98

Reason

*** Terminating app due to uncaught exception 'NSRangeException', reason: '-[__NSCFString replaceCharactersInRange:withString:]: Range or index out of bounds'

Link to HockeyApp