baloise / digital-signature

a digital signature confluence macro
https://marketplace.atlassian.com/1217404
Apache License 2.0
8 stars 8 forks source link

Using plugin in a Template #31

Closed moseisleydk closed 6 years ago

moseisleydk commented 6 years ago

Using the Plugin in a Template gives us:

image-2018-09-24-16-05-26-022

MarkusTiede commented 6 years ago

Hi @moseisleydk - thanks for reporting this! Do you happen to have some more information about the Atlassian instance you're currently using as well as maybe log-file excerpt?

@culmat : Could you tell from our side what might be causing the CCE?

moseisleydk commented 6 years ago

When my customer try to use it now:

Error rendering macro 'signature'

com.atlassian.confluence.pages.Draft cannot be cast to com.atlassian.confluence.pages.Page

screenshot 2018-09-28 at 07 46 57

Confluence Version | 6.10.1 Build Number | 7702 Server Base URL | https://www.nspop.dk

CATALINA_OPTS -XX:ReservedCodeCacheSize=256m -XX:+UseCodeCacheFlushing -Dconfluence.context.path= -Datlassian.plugins.startup.options='' -Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 -Dsynchrony.enable.xhr.fallback=true -Xms2048m -Xmx5120m -XX:+UseG1GC -Datlassian.plugins.enable.wait=300 -Djava.awt.headless=true -XX:G1ReservePercent=20 -Xloggc:/pack/confluence/logs/gc-2018-08-14_07-41-05.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M -XX:-PrintGCDetails -XX:+PrintGCDateStamps -XX:-PrintTenuringDistribution
JDK_JAVA_OPTIONS --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
moseisleydk commented 6 years ago

Any progress here? Can I help?

MarkusTiede commented 6 years ago

@moseisleydk : Thanks for the additional information - we're now able to reproduce and it's likely to be fixed in the upcoming weeks.

As a workaround for now: using the template as a page instance works (at least for us); so only previewing within the template context is currently broken.

moseisleydk commented 6 years ago

Same her, the macro renders when I press "Next" from the Template creation

culmat commented 6 years ago

tested and OK

culmat commented 6 years ago

Hi moseisleydk, the fix is released. Have fun. Matthias