Bug 1026728 - Can't delete source model which imports VDB
Summary: Can't delete source model which imports VDB
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER4
: 6.0
Assignee: Van Halbert
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-05 10:14 UTC by Filip Elias
Modified: 2014-07-09 05:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In JBoss Developer Studio, users cannot delete source models that import a virtual database. The delete option is inactive for the model. This is because the source model is read only. This constraint may have to be relaxed so that users can delete read only models.
Clone Of:
Environment:
JBDS 7.0.0 GA Tooling 4.1.3.Beta5 (http://download.jboss.org/jbosstools/updates/integration/kepler/integration-stack/aggregate/4.1.3.Beta5/)
Last Closed: 2014-02-06 15:37:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-1917 0 Critical Closed Can't delete source model which imports VDB 2014-05-07 21:04:37 UTC

Description Filip Elias 2013-11-05 10:14:14 UTC
Source model that imports VDB can't be deleted.

Environment JBDS 7.0.0 GA
            Tooling 4.1.3.Beta5 (http://download.jboss.org/jbosstools/updates/integration/kepler/integration-stack/aggregate/4.1.3.Beta5/)

Steps to reproduce:

1. Select File -> Import ->  JDBC Database >> Source Model
2. Create connection profile for VDB (Select Teiid as Connection profile type)
3. Make sure that Import as VDB source model is checked
4. Create the source Model
5. Right-click on the source model and try to delete it, but Delete is inactive

Comment 1 JBoss JIRA Server 2013-11-07 15:45:45 UTC
Barry LaFond <blafond> made a comment on jira TEIIDDES-1917

AbstractRefactorAction disables if a resource is READ ONLY.

In this case the source model returns TRUE for ModelUtil.isIResourceReadOnly() because it's a "locked source object".

We probably need to relax this so users can delete Read Only models.

Only catch will be in Refactor Wizard's dependency analysis/refactor logic?

Comment 2 JBoss JIRA Server 2013-11-20 21:40:41 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1917 to Resolved

Comment 3 JBoss JIRA Server 2013-11-20 21:40:41 UTC
Barry LaFond <blafond> made a comment on jira TEIIDDES-1917

Tested with latest build (11/20/2013) and was able to delete vdb source model.

Comment 4 belong 2013-12-10 00:51:14 UTC
Assuming this will be set to VERIFIED before GA - setting requires_doc_text- accordingly.

Comment 5 Filip Elias 2014-01-07 12:32:33 UTC
Verified on DV6 CR1, JBDS 7.1.0, JBDS IS 7.0.0.CR1

Comment 6 JBoss JIRA Server 2014-05-07 21:04:39 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1917 to Closed


Note You need to log in before you can comment on or make changes to this bug.