Project Referencing a New Metric
- Dominant language
- No language data
- Stars
- 20
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
One of the specific scenarios that was discussed over the summer was supporting the possibility that an investment would add a metric and also add a reference to that metric during the same submission. That is, an investment adds metric 123 and also adds a project that indicates it is tied to new metric 123. However, it appears we are getting errors in both the Standard Investment Report and the Business Case when attempting to do so. In the SIR, we receive the following:
alert000221-SIR: agencyMetricID does not match an existing active Performance Metric for uniqueProjectID: 1
In the business case, we receive:
alert616-BCD: agencyMetricID - 2 does not match an existing active Performance Metric
In both cases, we are attempting to introduce a new metric at the same time as a we link a project to that metric. Particularly because this is a new requirement, a number of investments seem to be adding new metrics to best comply, and new investments necessarily have both new projects and new investments. The expectation would be that the code would check against the metrics included in the XML, in addition to those previously reported, before returning an error.
(As a side note, in testing, I found that no error seemed to be raised when I added an existing project metric to an existing project but made up an invalid metric ID where I did not provide project activities. However, I did not test fully, and this may be related to the missing activities issue.)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.