ID 427471 - The ingest tool does not return results from sub-directories for different streams of the same material

Follow

Problem summary

The ingest tool does not return results from sub-directories for different streams of the same material
It only finds the first folder and others material streams are ignored 

Customer reported version
mari.4.5v1

Customer reported platform
centos8

Steps to reproduce

1) Download the attached zip file and extract it 
2) Open any project in Mari and go to Tools>Ingest Tool 
3) Make sure that: 

- Shader Model is set to Principled BRDF 

- Stream Config Base Color -> Base; Metallic -> Metl; Specular -> Spec

- Filename Template is set to $NAME\$STREAM\$NUMx$NUM\$ANY.$EXT

- Search Root Path is set to the downloaded in step 1 folder 

- Ingest Materials is set to Display Search Results only 

4) Press Find Materials 

result: Notice that the ingest tool only finds the first sub-folder of the Material images and ignores all others 

Expected behaviour
The ingest tool should go through all sub-folders 

Actual behaviour
The ingest tool only finds the first sub-folder of the Material images and ignores all others 

Workaround
Unknown.

Reproduced by Manual QA
This bug has been reproduced in:

4.6v3 - WIndows 10 
4.5v1 - WIndows 10 

Earliest version tested
4.5v1 - This feature did not exist before this version

    We're sorry to hear that

    Please tell us why