Project

General

Profile

Actions

Defect #2422

closed

IdmRoleTreeNodeFilter doesn't search by automatic role name

Added by Tomáš Doischer over 4 years ago. Updated over 4 years ago.


Description

I was trying to find all automatic roles which have a certain string in their name. I used the filter in this way:

IdmRoleTreeNodeFilter roleTreeNodeFilter = new IdmRoleTreeNodeFilter();
roleTreeNodeFilter.setName("generated");

However, this way, roleTreeNodeService found every automatic role on tree nodes, not just the ones which had "generated" in their name. After I changed the code to this

IdmRoleTreeNodeFilter roleTreeNodeFilter = new IdmRoleTreeNodeFilter();
roleTreeNodeFilter.setText("generated");

everything started to work.


Related issues

Related to IdStory Identity Manager - Task #842: Automatic role by attributeClosedOndřej Kopr02/01/201802/01/2018

Actions
Actions #1

Updated by Radek Tomiška over 4 years ago

  • Assignee changed from Ondřej Kopr to Radek Tomiška

Filter attribute 'name' is not implemented in underlying service => predicate will be created.

Filter attribute is included by filter abstraction from automatic roles by attribute.

Actions #2

Updated by Radek Tomiška over 4 years ago

  • Tracker changed from Task to Defect
  • Status changed from New to In Progress
  • Target version set to 10.4.4
  • Affected versions Garnet (7.7.0), Garnet (7.8.0), Garnet (7.8.1), Garnet (7.8.2), Garnet (7.8.3), Garnet (7.8.4), Garnet (7.8.5), Hematite (8.0.0), Jade (8.1.0), Jade (8.1.2), Jade (8.1.3), Lapis (8.2.0), Jade (8.1.4), Malachite (9.0.0), Jade (8.1.6), Jade (8.1.7), Moonstone (9.1.0), Moonstone (9.1.1), Morganite (9.2.0), Morganite (9.2.1), Morganite (9.2.2), Onyx (9.3.0), Onyx (9.3.1), Opal (9.4.0-rc.1), Onyx (9.3.2), Onyx (9.3.3), Opal (9.4.0-rc.2), Onyx (9.3.4), Opal (9.4.0), Pyrite (9.5.0), Pyrite (9.5.1), Pyrite (9.5.2), Pyrite (9.5.3), Pyrite (9.5.4), Quartz (9.6.0), Quartz (9.6.1), Quartz (9.6.2), Quartz (9.6.3), Quartz (9.6.4), Quartz (9.6.5), Pyrite (9.5.1.2), Quartz (9.6.6), Rhyolite (9.7.0), Rhyolite (9.7.2), Rhyolite (9.7.3), Rhyolite (9.7.4), Rhyolite (9.7.5), Rhyolite (9.7.6), Rhyolite (9.7.7), Rhyolite (9.7.8), Rhyolite (9.7.9), Rhyolite (9.7.10), Rhyolite (9.7.11), Rhyolite (9.7.12), Rhyolite (9.7.13), 10.0.0, Rhyolite (9.7.14), 10.0.1, 10.1.0, Rhyolite (9.7.15), Rhyolite (9.7.16), 10.2.0, 10.0.2, 10.3.0, 10.3.1, 10.3.2, Rhyolite (9.7.17), 10.3.3, 10.4.0, 10.4.1, 10.4.2, 10.4.3 added
Actions #3

Updated by Radek Tomiška over 4 years ago

  • Related to Task #842: Automatic role by attribute added
Actions #4

Updated by Radek Tomiška over 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • Target version changed from 10.4.4 to 10.5.0
  • % Done changed from 0 to 90

Filter property 'name' is implemented.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/2739cbda87b0f175c4d8c03faae4bf63fedc8530

Could you provide me a feedback, please?

Note: Exception is thrown, when other unimplemented filter properties generalized from automatic role by attribute is used (filled).

Actions #5

Updated by Vít Švanda over 4 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100

I did reivew and test. LGTM

Actions #6

Updated by Radek Tomiška over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF