Details
-
Bug
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
ERM Sprint 119, ERM Sprint 120
-
Bienenvolk
-
R2 2021 Bugfix
Description
Overview:
If a Proxy URL string template is deleted, it doesn't result in the removal of the relevant templated URLs from PTIs
Steps to Reproduce:
- Create a Proxy Server string template (in settings)
- Check a PTI to see that the templated URL has been created
- Delete the Proxy URL string template
- Check the PTI
Expected Results:
Templated URL relevant to the particular proxy server string template is removed
Actual Results:
Templated URL persists on the PTI
Additional Information:
URL:
Interested parties:
Dev task breakdown
It looks like this code finds if string templates have changed, but not if they've been removed.
- Alongside the cursor AppSetting we can include a list of PTI ids
- Potentially a better storage method than AppSetting. Need global cache in memory, perhaps static. See dashboard implementors example
- Check Set of PTIs in system against Set in memory. If sizes differ refresh all, if not then do .equals() to see if the Sets differ.
- That whole condition can be added to this if clause