Bug 1299463 - Filtering by tags not working when Project Explorer is in Repository view
Summary: Filtering by tags not working when Project Explorer is in Repository view
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Pere Fernàndez
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-18 12:33 UTC by Zuzana Krejčová
Modified: 2020-03-27 19:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:34:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zuzana Krejčová 2016-01-18 12:33:02 UTC
Description of problem:
If the Project Explorer is set to Repository view, the tag filtering doesn't work - the dropdown does not contain any tags. If you switch to Project view, it works, if you then switch back to Repo view, there are again no tags to choose from.


Version-Release number of selected component (if applicable):
RP 6.2.1


Steps to Reproduce:
1. Go to Authoring, set the Project Explorer to Project view. Enable tag filtering.
2. In a package 'org.pkg', create a DRL file 'tagged.drl' and add a tag, 'testTag'. (Save.)
3. Check that the tag is available in Project Explorer.
4. Switch to Repository view and navigate to src -> main -> resources -> org -> pkg.
5. Open again the Filter by Tag dropdown.


Actual results:
Filter by Tag dropdown is now empty (contains only '-- none --').


Expected results:
Filter by Tag dropdown contains the option 'testTag'.


Additional info:
Most probably a by-product of bug 1296498.

Comment 3 Pere Fernàndez 2016-01-26 12:09:26 UTC
The component that was getting the tags for each item was using the wrong path.

Sent PR's:

master: https://github.com/droolsjbpm/kie-wb-common/pull/213

6.3.x: https://github.com/droolsjbpm/kie-wb-common/pull/212

6.4.x: https://github.com/droolsjbpm/kie-wb-common/pull/214

Comment 5 Zuzana Krejčová 2016-02-04 14:42:52 UTC
This was included in 6.2.1 CR2. The issue is fixed.

Comment 6 Lukáš Petrovický 2016-02-04 14:44:15 UTC
I have set the flag for 6.2.1, since this has shown there.


Note You need to log in before you can comment on or make changes to this bug.