[jbosstools-issues] [JBoss JIRA] (JBIDE-17831) Application wizard: dirty project should not be selectable as existing projectstuck with application but existing project cannot be merged: uncommitted changes

Andre Dietisheim (JIRA) issues at jboss.org
Thu Jul 10 12:55:24 EDT 2014


     [ https://issues.jboss.org/browse/JBIDE-17831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-17831:
-------------------------------------

    Attachment: uncommitted-changes.png


we now validate the selected existing project and error if it has uncommitted changes (we dont error if there are untracked files since one can merge into a repo with untracked files)

!uncommitted-changes.png!

> Application wizard: dirty project should not be selectable as existing projectstuck with application but existing project cannot be merged: uncommitted changes
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-17831
>                 URL: https://issues.jboss.org/browse/JBIDE-17831
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.2.0.Beta3
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>            Priority: Optional
>              Labels: application_wizard, respin-a
>             Fix For: 4.2.0.Beta3
>
>         Attachments: import-failed-uncommitted-changes.png, uncommitted-changes.png
>
>
> EXEC: Import a git based project into the workspace in JBT (ex. git at github.com:adietish/kitchensink.git)
> EXEC: Launch New application wizard from OpenShift explorer (or launch via project context menu Configure->New/Import OpenShift Application).
> EXEC: Choose basic cartridge and click Next button (ex. EAP 6).
> EXEC: Fill in name on the next wizard page and click Next.
> EXEC: Choose Use existing project and select the existing git based project.
> EXEC: Finish the wizard.
> *RESULT:* There is the error that there are uncommitted changes and it is required to commit them first. Application on OpenShift is default (from basic cartridge).
> !import-failed-uncommitted-changes.png!
> This is expected as you cannot merge into a project with uncommitted changes. But the missing requirement (clean project without uncommitted changes) can be spotted far earlier when the existing project is selected.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jbosstools-issues mailing list