An error is recorded in the log when initialising a custom widget in an add-on module

Description

2023-11-25 13:56:13 contentbox.models.ui.WidgetService Error creating module (photoGallery) widget: PhotoGallery | ExtraInfo:
ErrorType = expression
Message = The key [TYPE] doesn't exist in the arguments scope. The existing keys are [qRecords]

Activity

Show:

Kevin RocheNovember 25, 2023 at 6:04 PM
Edited

I have created a PR to fix this
fix_for_error_when_initailising_custom_module_widget CONTENTBOX-1499 #594

That was an awkward one. Two errors on the same line. Took most of today to find and fix it, but I think I’m getting faster at finding things.

Can you let me know why I get an error Format (pull_request) I’m happy to follow a different format if needed.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Affects versions

Components

Priority

Sentry

Created November 25, 2023 at 2:36 PM
Updated December 12, 2023 at 8:29 PM
Resolved December 8, 2023 at 6:24 PM