Details
-
Bug
-
Resolution: Tracked Elsewhere
-
Low
-
None
-
4.0
-
4
-
Description
I created a directory in the <jirahome>/installed-plugins and it turns up as a broken plugin
bbaker@carltondraught:~/src/atlassian/releases/jira4.0/jirahome/plugins/installed-plugins$ ls -l total 1572 drwxr-xr-x 10 bbaker bbaker 4096 2009-12-21 10:34 as
and then
2009-12-21 10:37:16,171 main ERROR [atlassian.plugin.loaders.DirectoryPluginLoader] Unable to deploy plugin 'null', file Unit: jirahome/plugins/installed-plugins/as (1261352060000)
java.lang.IllegalArgumentException: The artifact URI file:/home/bbaker/src/atlassian/releases/jira4.0/jirahome/plugins/installed-plugins/as/ is not a valid plugin artifact
at com.atlassian.plugin.DefaultPluginArtifactFactory.create(DefaultPluginArtifactFactory.java:38)
at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:111)
at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:88)
at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:135)
at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49)
at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1275)
at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:224)
at com.atlassian.jira.ComponentManager.start(ComponentManager.java:210)
at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63)
at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42)
and also it shows up on the plugins screen as an installed plugin - with the name being plugin name
Its this really intended behaviour? Seems wrong to me.
Also for the record the directory was an expansion of activity stream and hence was in fact a valid expanded jar. is it the intention of plugins to be able to read "expanded" jars as directories. if so then this is broken.
as
Description:
Vendor: (unknown)
Plugin Version: 0.0
JIRA Version: 0.0
Installation Mode: Embedded
There were errors loading this plugin:
The artifact URI file:/home/bbaker/src/atlassian/releases/jira4.0/jirahome/plugins/installed-plugins/as/ is not a valid plugin artifact