Skip to content

A bug was found in the CompilerApi.js file under the cubejs-server-core module #9005

@tiger-feng

Description

@tiger-feng

Describe the bug
In the CompilerApi.js file, there is no requestId in the query parameter of the applyRowLevelSecurity function, which causes this.getCompilers({ requestId: query.requestId }) requestId to always be undefined

To Reproduce
Steps to reproduce the behavior:

  1. Enter the ‘cubejs-server-core/src/core/CompilerApi.js file’
    2.Search for the applyRowLevelSecurity function and see

Expected behavior
requestId should be obtained in context. query.requestId is always undefined.

e.g.
async applyRowLevelSecurity(query, context) {
const compilers = await this.getCompilers({ requestId: context.requestId });
...

Screenshots
image

Version:
[e.g. 1.1.7]

Metadata

Metadata

Labels

questionThe issue is a question. Please use Stack Overflow for questions.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions