[jbosstools-issues] [JBoss JIRA] (JBIDE-15653) Import application wizard: Errors "Could not publish: Attempted to begin rule"
Andre Dietisheim (JIRA)
jira-events at lists.jboss.org
Fri Oct 11 05:19:02 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-15653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12813349#comment-12813349 ]
Andre Dietisheim commented on JBIDE-15653:
------------------------------------------
JBIDE-15495 is only loosely related. It covers a similar topic but the cause here is a different one:
{code:title=OpenShiftApplicationWizard#publishServerAdapter}
if (!EGitUtils.isDirty(model.getProject())) {
IsAheadJob isAheadJob = new IsAheadJob(model.getProject(), model.getRemoteName());
IStatus status =
WizardUtils.runInWizard(isAheadJob, isAheadJob.getDelegatingProgressMonitor(), getContainer());
if (!status.isOK()) {
return false;
}
if (!isAheadJob.isAhead()) {
return true;
}
}
{code}
The above code will publish a non-dirty, non-ahead project which is clearly wrong, it should not get published.
> Import application wizard: Errors "Could not publish: Attempted to begin rule"
> ------------------------------------------------------------------------------
>
> Key: JBIDE-15653
> URL: https://issues.jboss.org/browse/JBIDE-15653
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.Alpha1
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 4.2.0.Alpha1
>
> Attachments: could-not-import.png
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list