Bug 1284782

Summary: Full text search throws exception in special case
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jozef Marko <jomarko>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Jozef Marko <jomarko>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3.0CC: alazarot, jomarko, kverlaen, lpetrovi
Target Milestone: DR1Keywords: Regression
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1289723 (view as bug list) Environment:
Last Closed: 2020-03-27 19:13:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1289723    
Attachments:
Description Flags
runtime exception log
none
area where to put search pattern none

Description Jozef Marko 2015-11-24 08:49:21 UTC
Created attachment 1098066 [details]
runtime exception log

Description of problem:
Full text search throws exception in special case and business central freezes.

Version-Release number of selected component (if applicable):
6.2.0.CR1

Steps to Reproduce:
1. Create business process named 'abcdefg.bpmn2'
2. Type '*cde*' as search pattern
3. Process will be found
4. Type '*d*' as search pattern
5. Process will be not found

Actual results:
In the step 5. business central freezes and RuntimeException is thrown. See the attached runtime-error.log.

Expected results:
Business process is found in step 5. and no exception is thrown

Comment 1 Jozef Marko 2015-11-24 08:49:51 UTC
Created attachment 1098067 [details]
area where to put search pattern

Comment 2 Jozef Marko 2015-11-24 08:50:58 UTC
Please put search pattrn into the arrea from attachment 1098067 [details]

Comment 3 manstis 2015-11-24 16:29:23 UTC
Hi Josef, we're going to need the repository with which this issue occurs. I suspect it's not the search pattern directly; more that there's an asset/file in the repository that matches "*d*" but is not represented as a RuntimeResource and it is this that's causing the problem.

Comment 4 manstis 2015-11-24 20:54:35 UTC
The issue was indeed that *d* returned assets that are not within a Project - Designer creates assets in a "global" workspace. I've fixed the issue, granting access to al Users to assets not within a Project structure (unless of course the User doesn't have access to the OU or Repository).

Comment 8 Jozef Marko 2016-02-08 07:32:31 UTC
No exception is thrown. Verified on bpms-6.3.0.DR1.