Attempts to extract IBM Rational DOORS data using IBM Rational Publishing Engine template results in the error "The number of recursive segments in excess of the number of segments".
The full error message is as follows:
CRRPE1064I Engine Error com.ibm.rational.rpe.common.utils.RPEException:
The number of recursive segments for request $1 is in excess of the number of segments in the request.
CRRPE3011E IBM Rational Publishing Engine Error
The template has Recursive Level set to 4 and Recursive Segments set to 3. However, the query used in the template doesn't have more than 2 segments i.e. Module/Object. The segment can be more than 2 in case if we go deeper, but its not applicable for DOORS data source.
Resolving the problem
- Open the template in Document Studio
- Go to Main Container Properties > Data
- Set Recursive Level to 0 and Recursive Segments to 1
- Run the extraction