Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Jacques RascagneresJacques RascagneresReporter
Ben BrooksBen BrooksStory Points
3Components
Sprint
NoneFix versions
Priority
MajorInstabug
Open Instabug
Details
Details
Assignee
Jacques Rascagneres
Jacques RascagneresReporter
Ben Brooks
Ben BrooksStory Points
3
Components
Sprint
None
Fix versions
Priority
Instabug
Open Instabug
PagerDuty
PagerDuty
PagerDuty
Sentry
Sentry
Sentry
Zendesk Support
Zendesk Support
Zendesk Support
Created August 31, 2021 at 12:56 PM
Updated September 21, 2021 at 5:03 PM
Resolved September 15, 2021 at 10:25 PM
Javascript functions given in database config or the new javascript endpoints (sync and import_filter) should be syntactically valid, and today are only checked upon load. It would be ideal to validate them before the config is persisted.
We can ensure the functions are valid javascript inside
DbConfig.validate()
by running them throughsgbucket.NewJSRunner(src)
and ensuring no error is returned, which should prevent invalid javascript from being set on a config before being persisted.