Neriderc / GVExport

Repository for GVExport module for Webtrees
GNU General Public License v2.0
15 stars 6 forks source link

Bug in plugin interface of webtrees 2.1.18? #473

Closed marwelin closed 5 months ago

marwelin commented 5 months ago

webtrees 2.1.18 works smooth together with GVExport 2.1.19. As of webtrees 2.1.19, the interface to the unchanged GVExport 2.1.9 seems to be broken.

What happens: Normally the GVExport starting point "Include everyone related to" in the upper left GVExport-corner, is transferred from the currently selected person in webtrees to GVExport, when calling the GVExport-Diagram. As of webtrees 2.1.19 this does not work anymore. GVExport comes with an ERROR an resets the starting point.

grafik

Will this be fixed in webtrees or must it be fixed in GVExport?

This is also posted in the webtrees forum.

hartenthaler commented 5 months ago

I have seen this "error" message, too. But I was too busy to document it.

marwelin commented 5 months ago

Greg Roach answered in the webtrees forum. In gvexport.js, function pageLoaded(Url), "data-url" must be replaced by "data-wt-url".

I tested it and it works. @Neriderc Will you update the main sources, please?

Neriderc commented 5 months ago

Huh, my development webtrees is on v2.1.17 and has not informed me of an update!

Apologies, I will re-plan what the next release will be and get it out as soon as possible (now's a good time to check translations are up to date if you contribute to those!)

Greg Roach answered in the webtrees forum. In gvexport.js, function pageLoaded(Url), "data-url" must be replaced by "data-wt-url".

Thanks for this, makes it much easier to fix if I don't have to troubleshoot myself!