Red Hat Bugzilla – Bug 996563
[Admin Portal] Deleted config of UI plugin is not reflected, data are kept until engine is restarted
Last modified: 2014-06-12 10:09:01 EDT
Created attachment 786137 [details]
Description of problem:
I deleted config of an UI plugin from /etc/ovirt-engine/ui-plugins but after reload of Admin Portal I can see still old data of the UI plugin. Cleaning browser cache doesn't help, not closing whole browser instance. After restarting engine the old configuration data are dropped and the UI plugin shows its default configuration.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. untar attached test-plugin.tar.gz in '/'
2. login to Admin Portal, log out
3. rm -f /etc/ovirt-engine/ui-plugins/test-config.json
4. refresh browser page, login to Admin Portal
even after reloading Admin portal page ui plugin data are still old
all ui plugin data should be dropped on reload
tested ff17, ie9
I'm not sure engine restart on ui plugin deploy/removal is not a reasonable assumption
(In reply to Itamar Heim from comment #1)
> I'm not sure engine restart on ui plugin deploy/removal is not a reasonable
@Vojtech - does re-loading ui plugin data (configuration) upon browser reload sound reasonable to you?
I agree with Jiri, this sounds like a bug to me.
UI Plugin infra was designed to allow reloading plugin meta-data & configuration without restarting Engine, so we should also compare cached data against (possibly missing) files, in addition to comparing (possibly added or modified) files with cached data.
> @Vojtech - does re-loading ui plugin data (configuration) upon browser
> reload sound reasonable to you?
Yes, modifying UI plugin meta-data and/or configuration shouldn't require Engine restart.
ovirt 3.4.0 alpha has been released
deleting config and/or plugin itself causes to be display and/or not displayed in expected way.
Closing as part of 3.4.0