gtn / exaport

exabis eportfolio
http://www.exabis.at
13 stars 13 forks source link

Moodle4.2-Exaport 4.6.7 (2023020800)Add View is not available. #31

Open resonantstyle opened 1 year ago

resonantstyle commented 1 year ago

Moodle has been upgraded to 4.2.

The plugin is 4.1, so I provide this information.

My Views/Add View

Exception - Failed opening required '[dirroot]/lib/editor/tinymce/lib.php' (include_path='[dirroot]/lib/pear:. :/usr/share/pear:/usr/share/php:/usr/share/pear:/usr/share/php')

More information about this error

Debug info: Error code: generalexception Error code: generalexceptionmessage Dismiss this notification Stack trace: line 691 of line 691 of /blocks/exaport/views_mod.php: Error thrown

resonantstyle commented 11 months ago

The error occurs even with plugins that are compatible with Moodle 4.2.

4.6.7 (2023071500) Moodle 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 4.0, 4.1, 4.2

My Views/Add View

Exception - Failed opening required '[dirroot]/lib/editor/tinymce/lib.php' (include_path='[dirroot]/lib/pear:. :/usr/share/pear:/usr/share/php:/usr/share/pear:/usr/share/php')

renato-araujo commented 9 months ago

Hello,

Thanks for the great plugin. I confirm this bug. There is an expected folder path hardcoded, that does not exist anymore after Moodle 4.2:

Exception - Failed opening required '[dirroot]/lib/editor/tinymce/lib.php'

(line 691 of /blocks/exaport/views_mod.php).

Moodle 4.2 deprecated the old 'tinymce' editor, removed its code and replaced it for 'tiny'. The new editor structure is very different from the previous one.

Could you please check this issue? Thanks in advance.

Renato Araujo