-
Notifications
You must be signed in to change notification settings - Fork 15
echocat adam breaks another add-ons actions #66
Comments
Forgot to mention that we were able to reproduce this in Atlassian Confluence 5.7.6, but this doesn't seem specific to a Confluence version. We have reports of the issue from Confluence 5.10.7 as well. |
Hi @dpashkevich! Thank for your report. I will try to reproduce this - but I never noticed such problems before. I hopefully can investigate this problem within the demo phase of your plugin. ;-) Thanks, |
Wow, thanks for a fast response Gregor! Yes it's weird that so far this only seems to be affecting our add-on, but the good thing is that the issue is easily reproducible. Also, it's peculiar that in order to "fix" our add-on, one has to not just uninstall the echocat adam add-on, but also clear Confluence's plugin cache and restart Confluence. |
Hi Gregor, have you had a chance to look at the issue? |
Hi @dpashkevich, yes but until now I'am not really able to reproduce this issue - but I'am still on it. |
Can you share your set up and the steps you're performing, @blaubaer ? |
Hi @blaubaer, anything I can do to help repro the issue? |
Hey @blaubaer any progress on the issue? We are still affected |
Hi @blaubaer thx! |
Hi @dpashkevich! I tried to reproduce this issue and it takes me some time. Right now I can reproduce this issue but I cannot find the cause. The only fancy thing adam does is that it hooks into the It also modifies the
Do your plugin hooks itself in one/some of this sites? / Gregor |
Thanks for investigating Gregor! Our add-on doesn't depend on org.randombits in any way and does not do anything with the modules you listed. It seems as if like something causes the ConveryorListener to break something inside the XWork action configuration. Not sure why it only appears to affect our add-on. Here's a fragment of plugin.xml that defines the Viewer action that fails to load: <xwork name="Lucidchart Core Actions" key="lucid-core-actions">
<package name="lucidchart-onprem" extends="default" namespace="/plugins/lucidchart-onprem">
<action name="insertDiagram" class="com.lucidchart.onprem.confluence.actions.InsertDiagram">
<result name="success" type="velocity">/templates/insertDiagram.vm</result>
</action>
<action name="duplicateDocument" class="com.lucidchart.onprem.confluence.actions.DuplicateDocument">
<result name="success" type="velocity">/templates/insertDiagram.vm</result>
</action>
<!-- THIS ACTION FAILS TO LOAD
with java.lang.RuntimeException: action method [ null ] not found on [ com.lucidchart.onprem.confluence.actions.Viewer ]
when echocat adam is installed.
-->
<action name="viewer" class="com.lucidchart.onprem.confluence.actions.Viewer">
<result name="success" type="velocity">/templates/viewer.vm</result>
</action>
<action name="editor" class="com.lucidchart.onprem.confluence.actions.Editor">
<result name="success" type="velocity">/templates/chart-editor.vm</result>
<result name="login" type="redirect">/confluence/login.action</result>
<result name="relog" type="velocity">/templates/relog-page.vm</result>
<result name="expired" type="velocity">/templates/expired.vm</result>
</action>
<action name="getImageAttachments" class="com.lucidchart.onprem.confluence.actions.GetImageAttachments">
<result name="success" type="velocity">/templates/imageAttachments.vm</result>
</action>
</package>
</xwork> The viewer class definition doesn't look anything special package com.lucidchart.onprem.confluence.actions;
// ...
public class Viewer extends ConfluenceActionSupport {
public Viewer(...) {...}
public String execute() throws Exception {...}
// other methods
} Rings any bells? |
Hey buddies I am facing an issue in accessing LucidChart onprem macro through java code which is required to post the visio image into confluence. I am using Lucid chart plugin for the first time. Can somebody help me with java code that uses MacroManager, Macro and the related classes that are used to fetch the visio attachment links. |
@Siddaraju12 please send an email to [email protected], make sure to provide a detailed description of the issue (what steps are you performing, what you're seeing, attach screenshots and server logs). |
Dear Gregor, @blaubaer have you had any time to look further into this? please also review my previous comment .... I stand by it! If you release a paid version, we'll gladly pay for support, but I really need this one fixed .... thx, |
Hi, I work for Lucid Software, and we have this Confluence add-on. Recently we received several reports ouf our add-on breaking for no apparent reason. Turns out that the echocat adam is somehow causing our add-on's xwork actions to stop working.
Steps to reproduce:
You can see from the exception that suddenly our add-on's xwork actions stop working:
I attached a full stack trace: lucidchart-actions-broken.log.txt
I can see from adam's source code that the add-on messes with xwork actions, can you please advise on what might be causing the issue? Have you received similar reports before?
Thanks,
Dmitry
The text was updated successfully, but these errors were encountered: