[backend/frontend] Fix enable references behavior when adding entities to report
This PR is only to fix enable references behavior in the scope of the #5884 issue. Other PRs will aim to fully fix the enable references behavior for all entities, and the full list of problems can be seen in the #6074
Checklist
- [ ] I consider the submitted work as finished
- [ ] I tested the code for its functionality
- [ ] I wrote test cases for the relevant uses case
- [ ] I added/update the relevant documentation (either on github or on notion)
- [ ] Where necessary I refactored code to improve the overall quality
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 66.75%. Comparing base (
0067e4d) to head (949e85d). Report is 1 commits behind head on master.
:exclamation: Current head 949e85d differs from pull request most recent head cba58bc. Consider uploading reports for the commit cba58bc to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## master #6175 +/- ##
==========================================
- Coverage 67.76% 66.75% -1.02%
==========================================
Files 532 541 +9
Lines 65065 64556 -509
Branches 5462 5307 -155
==========================================
- Hits 44093 43094 -999
- Misses 20972 21462 +490
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
When trying to update a grouping with external reference enforced (as an admin), I don't see the list of external references in the dialog :
I can see the query in the network inspector (which returns 0 results), maybe the filter is not right :
When trying to update a grouping with external reference enforced (as an admin), I don't see the list of external references in the dialog :
That's a bug that we also noticed, that is described here https://github.com/OpenCTI-Platform/opencti/issues/6074 with the description "Edit an entity while having external reference". It will be worked on in the next step. Right now the external reference dialog only has the external references already added to the report, and you can not see other external references from the platform in it.