Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error in Macro Behaviour after Upgrade to Confluence 6.13.9

After Upgrading to a new Confluence Version we noticed several strange changes when Macros where involved:

- When Editing a Page, its Macros have no Description or Parameters shown, except when "Properties" is selected.

- Some Macroboxes are not shown at all in Edit-Mode but are displayed in the normal view-mode, thus the original Macros can not be changed anymore.

- The {Status} Makro for example has no Text rendered to it in Edit-Mode but again is displayed normally in "View"-Mode (See Screenshots at the End)

 

 

Due to the variety of symptoms, and the multitude of possible causes, we are currently at a loss how we should even narrow down a possible explanation.

Every Idea that any of you could offer would be greatly appreciated.

 

With kind regards!
Florian Seifer

 

 

StatusInEditMode.JPGStatusInViewMode.JPG

1 answer

0 votes
Minh Tran Atlassian Team Jan 08, 2020

Hi @Florian Seifer

Have you seen any exceptions or any errors in the log?

Or can you please create a support ticket at https://getsupport.atlassian.com then our support engineers will help troubleshoot for your case?

Thanks,

Minh

Hello @Minh Tran 

 

Thanks for your quick response.
Concerning the Macros I have not noticed any specific exceptions in the logs. But while researching I stumbled upon a possible issue caused by missing fonts required for newer confluence versions. This has been reported to cause Problems with Macro rendering as well as prohibiting the correct depiction of a Captcha while logging in.

For the CAPTCHA Error I noticed the following exception in the logs:

2020-01-09 09:41:09,966 ERROR [https-jsse-nio2-8443-exec-18] [ContainerBase.[Standalone].[localhost].[/]] log Unhandled exception occurred whilst decorating page
-- referer: https://space-backup.xxxxxxx.de:8443/dologin.action | url: /jcaptcha | traceId: 378633738beb3ca1 | userName: anonymous
com.octo.captcha.CaptchaException: word is too tall: try to use less letters, smaller font or bigger background: text bounds = {text=douders
java.awt.geom.Rectangle2D$Float[x=0.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=20.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=40.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=60.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=80.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=100.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
java.awt.geom.Rectangle2D$Float[x=120.0,y=240.0,w=0.0,h=240.0] ascent=-240.0 descent=240.0 leading=240.0
} with fonts {java.awt.Font[family=Serif,name=Serif,style=italic,size=30]
java.awt.Font[family=Monospaced,name=Monospaced,style=bolditalic,size=33]
java.awt.Font[family=Serif,name=Serif,style=plain,size=33]
java.awt.Font[family=Dialog,name=Dialog,style=bold,size=33]
java.awt.Font[family=Serif,name=Serif,style=plain,size=34]
java.awt.Font[family=Monospaced,name=Monospaced,style=italic,size=31]
java.awt.Font[family=SansSerif,name=SansSerif,style=bold,size=30]
} versus image width = 200, height = 50

 

Which Google also points to the fonts issue as described here:

 

https://confluence.atlassian.com/confkb/confluence-ui-shows-garbled-or-corrupt-text-on-captcha-macros-and-or-diagrams-due-to-missing-fonts-938027858.html?_ga=2.263782796.1025034055.1578295480-199734879.1574945219

 

Sadly the prescribed fix did not work in my case or I did something wrong.

Minh Tran Atlassian Team Jan 09, 2020

@Florian Seifer I very much suspect you are hitting the font missing in your Linux server?

Can i ask you to install the fontconfig for that?

What Linux distro are you using for your Confluence server?

@Minh Tran 

 

We are using RHEL 7.7.   

And as I already installed the following fonts:

yum install ghostscript
yum install dejavu-fonts-common
yum install dejavu-sans-fonts
yum install dejavu-sans-mono-fonts
yum install motif

cleared the plugin caches and restartet confluence.

Did I miss something?

 

 

One thing I find odd is that I NEVER observed the "garbled" symbols you can see in the image of the KB article: 

Garbled_text.JPG

Minh Tran Atlassian Team Jan 09, 2020

Can you try with

yum install -y fontconfig
yum install -y fontconfig
Loaded plugins: product-id, search-disabled-repos, subscription-manager
epel/x86_64/metalink | 21 kB 00:00:00
icinga-stable-release | 2.9 kB 00:00:00
Package fontconfig-2.13.0-4.3.el7.x86_64 already installed and latest version
Nothing to do
Minh Tran Atlassian Team Jan 09, 2020

Interesting. What previous Confluence version have you used before upgrading to 6.13.9?

Minh Tran Atlassian Team Jan 09, 2020

From your information I don't think this is related font issue. I believe you are hitting a bug in Confluence. Is your license able to create ticket at https://getsupport.atlassian.com then our support engineers will assist you?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you