jgraph/drawio-nextcloud

Error in MacOS / Safari

spreeni151 opened this issue ยท 14 comments

When opening a draw.io diagram in Safari browser on MacOs I receive an error message:

Error: Class 'OrgChart.Annotations.CanBeNullAttribute' is already defined

This error makes draw.io diagrams unusable in Nextcloud due to a constantly visible "waiting icon" in the middle of the Safari window. The error only occurs with the option 'Offline mode active?' to 'no'.
Everything works very well with Chrome or Firefox browsers, so this seems to be a Safari related error.
Btw. A BIG thanks for your wonderful work, especially for the whiteboard support :-).
Greetings, Frank
screenshot-drawio

I'm getting this error as well

Just an update: on my iPad I get this error in Chrome browser too. Therefore, unfortunately, Nextcloud Draw.io whiteboard cannot be used as a collaborative whiteboard on iPads. Any idea how to fix this or work around?
Kind Regards, Frank

Same error here,
try to uninstall and re-install draw.io Nextcloud app.
Nextcloud version is 25.0.4

Client OS is macOS latest version with Safari browser.

As follow the question, I just tried my Nextcloud with Microsoft Edge on the same macOS system,
draw.io can create new file and edit without above error.

Will try to get other browser and post updating here.

Same error here with safari on an IPad and an IPhone.

+1 for this issue

image

Seven reports and nobody has yet posted exact environment details...

Oh come on, is this the reason why we get no feedback?
Nextcloud 25.0.4
Draw.io App latest version
MacOS latest, iOS latest, Safari latest
I think the issue is easy to reproduce on any Safari browser or every other iOS browser. As I wrote above: The error only occurs with the option 'Offline mode active?' to 'no'.

ah yeah sorry, here's mine (I encountered the error while underway and just found this thread here):
also: it only happens on iOS Safari, in macOS I don't encounter the error. macOS Safari is Version 16.2 (18614.3.7.1.5)

NC version: 25.0.4
draw.io version: 2.1.0

PHP 8.1.14 (cli) (built: Jan 13 2023 10:43:22) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.14, Copyright (c) Zend Technologies
with Zend OPcache v8.1.14, Copyright (c), by Zend Technologies

ii apache2 2.4.41-4ubuntu3.14 amd64 Apache HTTP Server
ii apache2-bin 2.4.41-4ubuntu3.14 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.41-4ubuntu3.14 all Apache HTTP Server (common files)
ii apache2-utils 2.4.41-4ubuntu3.14 amd64 Apache HTTP Server (utility programs for web servers)
ii libapache2-mod-php7.4 1:7.4.33-3+ubuntu20.04.1+deb.sury.org+1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii libapache2-mod-php8.1 8.1.14-2+ubuntu20.04.1+deb.sury.org+1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)

Ubuntu: 20.04.5 LTS

kernel: 5.15.85-1-pve (LXC container)

iOS Safari 16.3.1

is there anything else you need info-wise?

Edit: reinstalling as suggested by a3linux did not fix my problem

Oh come on, is this the reason why we get no feedback?

Yes, it absolutely is. We're not wasting time trying to work out the correct environment.

Thanks @JohnEridium for being constructive.

@davidjgraph
Thank you for making your point clear, I can understand that and apologize if I did it wrong.
I really don't want to be rude or ungrateful, but I find the attitude of labeling feedback as a 'waste of time' a bit problematic.
Don't get me wrong, we're on the same side - as a user, I just wanted to help by pointing out an error I noticed. From my point of view, I listed all the steps to reproduce the error in the first posts.
From other projects I know that such information is gladly accepted and, if necessary for troubleshooting, queries are asked. Not reacting because the formalities are wrong doesn't help anyone, does it?
Please don't get me wrong - I don't expect any support from open source projects like I do with commercial products and I'm grateful for your great work.

OK, I'll unsubscribe from this now, someone else can look.

@davidjgraph David, please stay here, we all appreciate your help. My comment above was not intended as a personal criticism, I hope you didn't misunderstand me at this point.
Back on topic, here are my specs:

Nextcloud 25.0.4
Ubuntu 20.04
Apache 2.4.41
MariaDB 10.5.19
PHP 8.1.14

MacOS 13.2.1
Safari Version 16.3 (18614.4.6.1.6)

iOS 16.3.1

Fixed in draw.io v21.1.6