Tasks are not displayed in the mind map report after import

Post Reply
Edition Nehemia
Posts: 59
Joined: 18 Feb 2023, 16:44
Name: Christoph Berger
Location: Steffisburg, Switzerland

Tasks are not displayed in the mind map report after import

Post by Edition Nehemia »

I bought the extension a few days ago and have now started importing the tasks. Thanks for the great software!

Now I have probably come across a bug.

The imported tasks are not visible in the MinMap. However, when I create a new task, it is displayed. Purely from the "app_mind_map" database, I could not find any indication that anything would be wrong.

From my point of view, it doesn't help to attach a screenshot, because the MindMap field is simply empty or has entries that were created via the UI.
Last edited by Edition Nehemia on 19 Feb 2023, 11:46, edited 1 time in total.
Edition Nehemia
Posts: 59
Joined: 18 Feb 2023, 16:44
Name: Christoph Berger
Location: Steffisburg, Switzerland

Re: Tasks are not displayed in the mind map report after import

Post by Edition Nehemia »

Another important addition. When I saved the mind map unintentionally, all the 40 tasks were deleted.

Kind regards
Christoph
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Tasks are not displayed in the mind map report after import

Post by support »

Please reproduce this issue on personal demo https://www.rukovoditel.net/demo.php and give me the link to the demo. I will check.
Edition Nehemia
Posts: 59
Joined: 18 Feb 2023, 16:44
Name: Christoph Berger
Location: Steffisburg, Switzerland

Re: Tasks are not displayed in the mind map report after import

Post by Edition Nehemia »

Everything seems to work on the demo page. I saw that the demo uses PHP 7.4. Now I have reset the PHP version for me. Although it is outdated, ...

So it seems that the software does not yet run cleanly under PHP 8 (I used before PHP 8.2). For safety reasons, however, this would be important!

Kind regards
Edition Nehemia
Posts: 59
Joined: 18 Feb 2023, 16:44
Name: Christoph Berger
Location: Steffisburg, Switzerland

Re: Tasks are not displayed in the mind map report after import

Post by Edition Nehemia »

I checked again and noticed that this error only occurs when you want to display the description in the popup.

Here is the link to the demo page:
https://pdemo.rukovoditel.pro/3.3/index ... mo_id=1944
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Tasks are not displayed in the mind map report after import

Post by support »

Found issue with description. Replace files from archives to
template\mind_map_layout.php
plugins\ext\classes\map\mind_map_reports.php

About php 8.2 support will be in 3.4 version. Currently I'm working with php 8.1 and did not test app in 8.2
Anyway this issue not related to php version.

Let me know if it works ok in your app now.
Attachments
mind_map_reports.zip
(3.64 KiB) Downloaded 15 times
mind_map_layout.zip
(3.65 KiB) Downloaded 18 times
Edition Nehemia
Posts: 59
Joined: 18 Feb 2023, 16:44
Name: Christoph Berger
Location: Steffisburg, Switzerland

Re: Tasks are not displayed in the mind map report after import

Post by Edition Nehemia »

Thank you, Sergey!
PHP 8.1 is very good!

When replacing the file plugins\ext\classes\map\mind_map_reports.php, an HTTP 500 error occurred. I was able to find the following error code in the Java script. Maybe it will help.
"(index):6754 crbug/1173575, non-JS module files deprecated."

Kind regards
Christoph
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Tasks are not displayed in the mind map report after import

Post by support »

Strange. 500 error it means php error. Please find php error log on your server and send it for me. I will look.
Edition Nehemia
Posts: 59
Joined: 18 Feb 2023, 16:44
Name: Christoph Berger
Location: Steffisburg, Switzerland

Re: Tasks are not displayed in the mind map report after import

Post by Edition Nehemia »

Hi Sergey,

I am always learning! Thank you.

Since I couldn't find the corresponding log, I just did it again today.

1. PHP 7.4 to 8.1
3. activated the PHP log
2. updates of the files

Everything works! Thanks a lot!

Kind regards
Christoph
Post Reply