Delete case with display id deletes case but fails to delete variants..
See original GitHub issueI haven’t really investigated this, just throwing it out:
scout --demo --loglevel DEBUG delete case -i cust000 -d 643594
2020-02-13 14:28:20 k1315C02VR0WRHTDH.local scout.commands.base[19961] INFO Running scout version 4.11
2020-02-13 14:28:20 k1315C02VR0WRHTDH.local scout.commands.base[19961] DEBUG Debug logging enabled.
2020-02-13 14:28:20 k1315C02VR0WRHTDH.local scout.commands.delete.delete_command[19961] INFO Running deleting case None
2020-02-13 14:28:20 k1315C02VR0WRHTDH.local scout.adapter.mongo.case[19961] INFO Deleting case 643594 institute cust000
2020-02-13 14:28:20 k1315C02VR0WRHTDH.local scout.adapter.mongo.variant[19961] INFO Deleting old clinical variants for case None
2020-02-13 14:28:20 k1315C02VR0WRHTDH.local scout.adapter.mongo.variant[19961] INFO 0 variants deleted
2020-02-13 14:28:20 k1315C02VR0WRHTDH.local scout.adapter.mongo.variant[19961] INFO Deleting old research variants for case None
2020-02-13 14:28:20 k1315C02VR0WRHTDH.local scout.adapter.mongo.variant[19961] INFO 0 variants deleted
The case disappears, not variants. On re-load, all is ok except for multiple already existing vars:
2020-02-13 14:29:48 k1315C02VR0WRHTDH.local scout.adapter.mongo.variant_loader[19969] DEBUG Loading variant bulk
2020-02-13 14:29:48 k1315C02VR0WRHTDH.local scout.adapter.mongo.variant_loader[19969] DEBUG Upserting variant e287358e4abec884c39a4ed4363cc130
2020-02-13 14:29:48 k1315C02VR0WRHTDH.local scout.adapter.mongo.variant_loader[19969] DEBUG Variant e287358e4abec884c39a4ed4363cc130 already exists in database
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Deleting a product family fails · Issue #7529 - GitHub
This is a wanted behavior of the PIM in 2.1 and 2.0. A user cannot delete a family if it posses family variants....
Read more >Delete Cases - Salesforce Help
To delete a case from a Cases related list in Lightning Experience, click Del next to the case.
Read more >Deleting a view deletes a variant containing a block from that ...
There is an issue that can occur where a page variant will be deleted if it contains a block from a view, and...
Read more >How to delete a case in IBM Case Manager 5.1.1 integrated ...
1. Use FileNet Enterprise Manager, right-click Case_name folder and select Delete. 2. Select the delete option that maps to what you want to...
Read more >Delete Generation Variant - SAP Community
Go to Se11 - ESTLP - execute by F8 ; enter the generation variant and turn on the debugger mode " /h" and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah OK, now I see why. I’ll write a fix!
Oh yes, that is another story