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

OData V4 Filter Draft Service Entity (HasActiveEntity, HasDraftEntity) #113

Open
sivajankumaran opened this issue Mar 11, 2022 · 0 comments

Comments

@sivajankumaran
Copy link

Hi,

We have a OData V4 Service with an Entity that supports Draft handling. However if we try to filter ($filter=HasActiveEntity eq true) the main entity using HasActiveEntity property we get the following message:

invalid column name: T1.HASACTIVEENTITY

If we try to filter using HasDraftEntity property ($filter=HasDraftEntity eq true) then we get a OData response back from the CAP server however the filter hasn't been applied. It doesn't matter whether we set the HasDraftEntity to false or true...the complete set of data is returned. Filter is ignored.

The 'IsActiveEntity' filter works correctly.

We are using cds-compiler version 2.12.0 and @sap/[email protected]

Can anyone please help?

Thanks
Sivajan

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

No branches or pull requests

1 participant