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

Character datatype isn't supported on filter operation #134

Closed
karandashovrz opened this issue Feb 17, 2021 · 1 comment
Closed

Character datatype isn't supported on filter operation #134

karandashovrz opened this issue Feb 17, 2021 · 1 comment
Assignees
Labels
type: enhancement New feature or request ver: 7.2.4 ver: 7.3.0 Fixed in version
Milestone

Comments

@karandashovrz
Copy link

Need to add supporting of caharcter datatype on filter operation with next options:
'=', 'in', 'notIn', '<>', 'notEmpty'

@knstvk knstvk changed the title Character datatype doesn't supported on filter operation Character datatype isn't supported on filter operation Feb 24, 2021
@knstvk knstvk added the type: enhancement New feature or request label Feb 24, 2021
@knstvk knstvk added this to the Release 7.2 milestone Feb 24, 2021
@artemglinov
Copy link
Contributor

artemglinov commented Jul 6, 2021

QA Notes

To test the fix, one needs to:

  1. create an entity (e.g., NewEntity);
  2. add an attribute of type Char (in the designer) which is actually of Character datatype (called, e.g.,charAttr);
  3. create an entity instance (instances) with specific value (values) of charAttr;
  4. send a GET or POST filter request as described in docs. It is possible to find an example of a suitable GET request parameter "filter" value in entitiesFilterCharAttribute.json file as well as an example of building a request in EntitiesControllerFT#loadEntitiesWithCharAttributeFilter test in restapi-demo project.

In order to determine "operator" value refer to RestFilterParser#findOperator method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request ver: 7.2.4 ver: 7.3.0 Fixed in version
Projects
None yet
Development

No branches or pull requests

7 participants