peperru / google-refine

Automatically exported from code.google.com/p/google-refine
Other
0 stars 0 forks source link

Corrupt state of the ReconciliationManager after delete a service #579

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The ReconciliationManager get a inconsistent state after deleting a service. I 
figured out of such problem with the following steps:

1. Delete a reconcile service using the dialog
2. Programmatically add the same service uri
3. The ReconciliationManager.getServiceFromUrl() method still returns the 
service deleted at the first step

Attached a patch that solves the issue. Although So I can't assert that is a 
bug or an error on my usage of the API. So, if'd help, the code that arise this 
issue can be found at: 
http://code.google.com/p/lmf/source/browse/module/scripts/stanbol-reconciliation
-configuration.js?repo=refine#44

Original issue reported on code.google.com by sergio@wikier.org on 29 May 2012 at 1:27

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by dfhu...@gmail.com on 29 May 2012 at 4:53

GoogleCodeExporter commented 8 years ago

Original comment by tfmorris on 19 Sep 2012 at 11:24

GoogleCodeExporter commented 8 years ago

Original comment by tfmorris on 12 Oct 2012 at 7:17

GoogleCodeExporter commented 8 years ago
Looks good to me.  It brings add & delete into alignment with each other.  
Patch applied in r2578.

Original comment by tfmorris on 12 Oct 2012 at 7:51