Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search indexing fails #27

Open
stopfstedt opened this issue May 30, 2023 · 1 comment · May be fixed by #43
Open

search indexing fails #27

stopfstedt opened this issue May 30, 2023 · 1 comment · May be fixed by #43

Comments

@stopfstedt
Copy link

Hi,
When trying to index our site's contents for global search with the Diary activity, we're seeing the following error:

Processing area: Diary - activity information
!!! Exception - Undefined constant "mod_diary\search\DIARY_INTROATTACHMENT_FILEAREA" !!! 

Our current workaround is to exclude the Diary as a searchable area, but it would be good if this got fixed.

The root cause of this failure seems to be this undeclared constant DIARY_INTROATTACHMENT_FILEAREA, which is used here:

https://github.com/drachels/moodle-mod_diary/blob/master/classes/search/activity.php#L55

@drachels
Copy link
Owner

Just got back from a short vacation. Will try to look at this in the next day or so.

@stopfstedt stopfstedt linked a pull request May 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants