Giter Site home page Giter Site logo

Comments (14)

dpashkevich avatar dpashkevich commented on July 29, 2024

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.

from adam.

blaubaer avatar blaubaer commented on July 29, 2024

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,
Gregor

from adam.

dpashkevich avatar dpashkevich commented on July 29, 2024

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.

from adam.

dpashkevich avatar dpashkevich commented on July 29, 2024

Hi Gregor,

have you had a chance to look at the issue?

from adam.

blaubaer avatar blaubaer commented on July 29, 2024

Hi @dpashkevich,

yes but until now I'am not really able to reproduce this issue - but I'am still on it.

from adam.

dpashkevich avatar dpashkevich commented on July 29, 2024

Can you share your set up and the steps you're performing, @blaubaer ?

from adam.

dpashkevich avatar dpashkevich commented on July 29, 2024

Hi @blaubaer, anything I can do to help repro the issue?

from adam.

dpashkevich avatar dpashkevich commented on July 29, 2024

Hey @blaubaer any progress on the issue? We are still affected

from adam.

QuentinMonteyne avatar QuentinMonteyne commented on July 29, 2024

Hi @blaubaer
I'm the customer affected.
We've been using EchocatAdam, and still need it.
However, this is blocking an important development for us.
Do you have any timeframe on this?
Do you need any help reproducing the issue?
Do you have any plans of releasing a paid version of Echocat Adam? I understand this is a free plugin so support isn't necessarily guaranteed, but we're a bit stuck here ;-)

thx!
Quentin

from adam.

blaubaer avatar blaubaer commented on July 29, 2024

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 com.atlassian.crowd.directory.loader.LDAPDirectoryInstanceLoader across the boarders of the OSCGi system.

It also modifies the org.randombits.confluence.conveyor.ConveyorListener for its own display of some modules (sites):

  • viewmyprofile
  • viewuserprofile
  • editmyprofile
  • doeditmyprofile
  • userinfopopup
  • edituser
  • doedituser
  • peopledirectory
  • dopeopledirectorysearch
  • browsepeople

Do your plugin hooks itself in one/some of this sites?

/ Gregor

from adam.

dpashkevich avatar dpashkevich commented on July 29, 2024

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?

from adam.

Siddaraju12 avatar Siddaraju12 commented on July 29, 2024

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.

from adam.

dpashkevich avatar dpashkevich commented on July 29, 2024

@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).

from adam.

QuentinMonteyne avatar QuentinMonteyne commented on July 29, 2024

Dear Gregor, @blaubaer

have you had any time to look further into this?
we're still locked down due to this, and it's really frustrating to have to choose between these two great add-ons ...

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,
Quentin

from adam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.