[Discovery] Resolved error in Canvas

Forge Component
Published on 12 May by Sérgio Oliveira
101 votes
Published on 12 May by Sérgio Oliveira

Hi guys,

I got an internal error on the Canvas modules page. I traced it to a String to Int conversion error.

In the Canvas preparation, I changed GetModulesCount SQL query to return Text rather than an Integer then created a local variable ModulesCount as an integer and assigned that to the output of the query (wrapped in TextToInteger) then went and changed all of the consumers of this query to use my local variable instead.

Seemed to fix the problem.