View Issue Details

IDProjectCategoryView StatusLast Update
0003968Slicer4Core: Extensionspublic2018-03-02 11:06
Reporterfbudin Assigned Tojcfr  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.4.0 
Target VersionSlicer 4.5.0-1Fixed in VersionSlicer 4.5.0-1 
Summary0003968: slicer.app.extensionsManagerModel()isExtensionInstalled('filename')
Description

The python function slicer.app.extensionsManagerModel()isExtensionInstalled('filename') returns true if the given file name is part of a name of an extension that is actually installed, even if the given name is only a substring.
e.g.: Extension installed: AirwaySegmentation
slicer.app.extensionsManagerModel().isExtensionInstalled('AirwaySegmentatio')
returns True
slicer.app.extensionsManagerModel().isExtensionInstalled('')
also returns True
slicer.app.extensionsManagerModel().isExtensionInstalled('AirwaySegmentations')
returns False

TagsNo tags attached.

Activities

jcfr

jcfr

2015-02-26 18:54

administrator   ~0012941

Thanks for reporting the issue.

Could you check that this topic adddress the problem:

https://github.com/jcfr/Slicer/tree/3928-fix-extension-model-is-extension-installed

fbudin

fbudin

2015-02-27 10:10

developer   ~0012943

Yes, it works! Thanks!

jcfr

jcfr

2015-03-01 07:09

administrator   ~0012945

Thanks for testing.

Associated changes have been integrated in r23994

See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=23994

Issue History

Date Modified Username Field Change
2015-02-26 18:26 fbudin New Issue
2015-02-26 18:26 fbudin Status new => assigned
2015-02-26 18:26 fbudin Assigned To => jcfr
2015-02-26 18:54 jcfr Target Version => Slicer 4.4.1
2015-02-26 18:54 jcfr Note Added: 0012941
2015-02-26 18:54 jcfr Status assigned => feedback
2015-02-27 10:10 fbudin Note Added: 0012943
2015-03-01 07:09 jcfr Note Added: 0012945
2015-03-01 07:09 jcfr Status feedback => resolved
2015-03-01 07:09 jcfr Fixed in Version => Slicer 4.4.1
2015-03-01 07:09 jcfr Resolution open => fixed
2015-09-09 08:29 jcfr Fixed in Version Slicer 4.4.1 => Slicer 4.5.0-1
2015-09-09 08:29 jcfr Target Version Slicer 4.4.1 => Slicer 4.5.0-1
2018-03-02 11:06 jcfr Status resolved => closed