Recent changes in GeoGebraTube seem to be breaking the Moodle GeoGebra-Question-Type

AVohns75 shared this problem 5 months ago
Solved

We have been using the GeoGebra question type plugin for moodle (see https://moodle.org/plugins/...) for a while. There seems to be a problem caused by recent changes in GeoGebraTube which seem to be breaking or at least causing serious problems with this question type:

  1. Any question text that should normally show up before the GeoGebra-Applet ist rendered invisible (there seems to be a problem where a "visibility:hidden" tag is not properly overwritten).
  2. While the applet itself is still loading, it is rendered "below" other objects on the page, in other words: the necesarry space is somehow not being reserved by the plugin (a workaround is to change the brwoser window size).

We have tested this behaviour in two different moodle installations, none of which had any general updates or updates of the question type plugin so our only explanation at the moment is that some error in the communication between the plugin and GeoGebra (the plugin loads GeoGebra dynamically from geogebra.org).

Anyone else who noticed thios problem? Any possible solutions?

Comments (15)

photo
1

I've forwarded your post to the Materials Support Team, thank you.

photo
1

You can try loading an older version with applet.setHTML5Codebase(), see https://wiki.geogebra.org/e...

photo
1

As far as I understand, the applet is using https://www.geogebra.org/sc... to access GeoGebra and there is no way of changing that unless I would manually edit the plugin files (I think renderer.php is the culprit her, see: https://github.com/geogebra... ). But that is something I cannot really do as the moodle installation is running at our university's productive moodle server which I have no administrative rights to (and I would assume that manually "hacking" plugin files isn't something our server administrators are quite comfortable with, either).

photo
photo
1

While I really appreciate the quick response and the suggested solution, this will not actually work in my use case. Our university's IT-department is highly unlikely to install manual patches to a moodle-plugin from a github repository. Any changes necessary would probably have to be submitted to the official moodle-plugin library located at https://moodle.org/plugins/... .

If the statistics on moodle.org are to be trusted, then there are approximatly 1000 servers worldwide where this plugin ist installed, so this might justify the extra work necessary.

But as I said earlier: thanks anyway.

photo
3
photo
1

Dear Michael,

a) I tested the patches on my local test server and they are working just fine.

b) I forwarded the URL to our IT-department and I'm hoping the get around to installing the patch ASP.

I'm also really grateful for your quick replies and the quick fixing of the issue! Many thanks!!!

Andreas

photo
3

Hello everybody,

I've got the same problem. I tried this patch but it's not working for me :-(

Thanks for your help

Fred

photo
1

Hi everybody,

The patches aren't working as I reported on the github issue-tracker.

I think this problem is caused by the RequireJS API anonymous define used in deployggb.js.

Regards,

martin.

photo
3

For testing, please can you try the following:

1) Install https://chrome.google.com/webstore/detail/requestly-redirect-url-mo/mdnleldcmiljblolnjhpnblkcekpdkpa?hl=en as a Chrome Extension

2) Configure it to replace

https://cdn.geogebra.org/ap...

with

https://test.geogebra.org/~...


and let us know if that helps.

photo
1

Reported my test in different thread.

photo
1

I can also confirm the my Moodle error: "caught Error: Mismatched anonymous define() module: function(){return GGBApplet}" is solved, after using: https://test.geogebra.org/~mike/moodle/deployggb.js

photo
1

Sorry Michael. No change for me… :-(

photo
1

Well… After working a little bit more, in fact it works with certain question only, not all of them. I don't know why.

But if I edit those questions and replace the old file with a new one, it works ! Very strange…

I did both the change of file link with Michael one, and this modification given by Martin Putzlocher: https://help.geogebra.org/t...

So thank you everybody for the work and time you spend.

photo
photo
1

ahora entiendo por qué el departamento de informatica de la universidad de cadiz me niega la posibilidad de usar geogebra en el moodle de la universidad

https://help.geogebra.org/t...

© 2019 International GeoGebra Institute