Incorrect RequirementInfo Formatting from ''Requirements Summary Table'' slreportgen component
6 views (last 30 days)
In 19a (no update installed just the baseline release) when the property "RequirementInfo" is selected in the property columns of the report generator component "Requirement Summary Table", the resulting Requirement info in the table is poorly formatted. This occurs only when the requirement is coming from a Requirement Set file (slreqx). The online examples using excel etc are reporting "RequirementInfo" correctly.
It was expected to see just the requirement description text here. However, there is some leading and trailing html style referencing of the location of this Requirement Description text cluttering up the field in the table.
Is this fixed in a 19a update or is there a work around?
As work around I had considered:
- extracting the necessary requirements as an object (req=find(rs,'Type','Requirement','ID',reqIDxyz)
- Get the Description of the requirement reqDescriptionString = req.Description (at this step you will see a bunch of leading and trailing edge html code wrapped around the Description field).
- Remove the necessary html code using extractBefore/ extractAfter commands
Above gives you the requirement description text clean. But it's a long way around and now you also need to setup your own table in the report, instead of using the convenient "Report Summary Table".
Artem on 27 Mar 2020
Yes, this is a bug in the Product. I have just created a formal record (g2206550) and will be nominating it for next update of released product. What happens, req.Description is a rich-text field, but we need plain text for this report purpose. There is a step to strip HTML tags, but we make a mistake and leave some parts of the <style> tag. I will attach a fixed file here. You will need to put it under toolbox/shared/reqmgt/+linktypes. Sorry about the inconvenience.
Verification, Validation, and Test Requirements Toolbox Requirements Management Interface Review and Maintain Requirements Links