Kaleo workflow editor is blank: freemarker?Kaleo workflow editor is blank: freemarker?https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1031724592024-03-29T11:30:05Z2024-03-29T11:30:05ZRE: Kaleo workflow editor is blank: freemarker?Tom Filiaggihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1046315962018-02-28T17:56:17Z2018-02-28T17:56:17ZLiferay devs worked this and found a work-around: Remov all html comments (ie: "<!-- -->") from freemarker code.<br /><br />They are working ion an actual fix.Tom Filiaggi2018-02-28T17:56:17ZKaleo workflow editor is blank: freemarker?Tom Filiaggihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1031724582018-01-25T16:17:15Z2018-01-25T16:17:15Z<html><head></head><body>I have been working on a new workflow using LDS. <br>When I copy the workflow xml into the Kaleo editor on the instance web interface, the "Source" view goes away - does not even display a text editor section.<br><br>Steps to reproduce:<br><ul><li>While editing an existing workflow using Kaleo Designer, cut-n-paste the xml content using OS clipboard into the Kaleo editor ("Source"), replacing <strong>all</strong> of the text in the editor.</li><li>Click the "View" view to see the graphical representation (which is appears fine) then click the "Source" view again.</li><li>The expected text editor no longer appears.</li><li>Also - clicking Publish does nothing - not even busy spinner.</li></ul><br><br>This is only happening for the one workflow I am developing. Others are fine.<br><br>I believe this is somehow related to <strong>freemarker</strong> templates. If I remove some of them, this problem goes away, but it is not specific to one template. (I have several throughout the xml file). In these freemarker templates, I have "if" clauses (ie: <#if>). If I remove some of them, the problem may go away as well, but, exactly in which template varies depending on some other factor (order? length?).<br><br>This sounds like improperly formatted xml (ie: missing bracket of some kind), but I have used LDS to validate the xml and to allow it to format the xml. I see no errors - not in the LDS nor log files for the running instance of Liferay. <br><br>Because this freemarker content is contained in:<br><pre><code><template>
</template></code></pre><br>then perhaps xml formatting is not the culprit, but I have scrutinized the text in CDATA to a significant degree and I cannot find why this is happening. (These CDATA clauses are what I am emptying out to test to see where the root cause may be, but the root cause moves around.)<br><br>I'd sure appreciate any ideas anyone has regarding what might be causing this. This has been a