[jbosstools-issues] [JBoss JIRA] (JBIDE-21815) Image metadata not refreshed after name change
Viacheslav Kabanovich (JIRA)
issues at jboss.org
Thu Mar 3 15:56:00 EST 2016
[ https://issues.jboss.org/browse/JBIDE-21815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171699#comment-13171699 ]
Viacheslav Kabanovich commented on JBIDE-21815:
-----------------------------------------------
Well, after trying all kinds of refreshes that were of no use at all, I found one strong remedy, and I know that everyone will be disgusted with it, but it is the only one that works:
{code}
@Override
protected void onPageActivated(DataBindingContext dbc) {
if(envViewer != null && envViewer.getControl() != null && !envViewer.getControl().isDisposed()) {
Object input = envViewer.getInput();
envViewer.setInput(null);
envViewer.setInput(input);
}
if(dataViewer != null && dataViewer.getControl() != null && !dataViewer.getControl().isDisposed()) {
Object input = dataViewer.getInput();
dataViewer.setInput(null);
dataViewer.setInput(input);
}
}
{code}
I remind that table fails update on its own only when it needs vertical scroll, so it is entirely an UI problem, not model update.
> Image metadata not refreshed after name change
> ----------------------------------------------
>
> Key: JBIDE-21815
> URL: https://issues.jboss.org/browse/JBIDE-21815
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Xavier Coulon
>
> Steps to reproduce:
> - open the *Deploy Docker Image* wizard
> - input/search for {{jboss/infinispan-server:8.1.0.Final}}, then click on {{Next}}. The *Deploy Configuration & Scalability* page should show a handful of metadata, including {{INFINISPAN_VERSION = 8.1.0.Final}}
> - go back to the previous page, *Deploy an Image* and now input/search for {{jboss/wildfly:10.0.0.Final}} and click back on {{Next}} again.
> - ASSERT: the metadata should have been updated
> - FAILED: the metadata displayed correspond to the previously selected {{jboss/infinispan-server:8.1.0.Final}} Docker image.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list