[JBoss JIRA] (TEIIDDES-2612) Cannot delete a model project with a read-only model in it.
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2612?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2612:
-----------------------------------
Description:
I set up a 2 projects with a single model in it. Project 1 has a read-only -model, Project 2 has a writeable model.
I can delete Project 2, but Project 1 sends up a error message dialog that it can't delete because the project has a read-only file in it.
Looking at DeleteResourcesRefactoring.checkResource(), it starts with checking if the resource is in the selected list. If not selected, it'll be an ERROR if a child resources is READ-ONLY, rather than a WARNING.
Further down the method it checks for read-only state of the resource and will set the message.
Problem is the Selected/Top-level Project should determine the severity of the read-only check. At most, the message should be an OK/Warning dialog to ask the user "Read-only resources found... do you still wish to delete?"
adding a method to check that *allProjectsSelected()* and switching the ERROR read-only status to WARNING at the start of the method seems to work.
was:
I set up a 2 projects with a single model in it. Project 1 has a read-only -model, Project 2 has a writeable model.
I can delete Project 2, but Project 1 sends up a error message dialog that it can't delete because the project has a read-only file in it.
Looking at DeleteResourcesRefactoring.checkResource(), it starts with checking if the resource is in the selected list. If not selected, it'll be an ERROR if a child resources is READ-ONLY, rather than a WARNING.
Further down the method it checks for read-only state of the resource and will set the message.
Problem is the Selected/Top-level Project should determine the severity of the read-only check. At most, the message should be an OK/Warning dialog to ask the user "Read-only resources found... do you still wish to delete?"
F
> Cannot delete a model project with a read-only model in it.
> -----------------------------------------------------------
>
> Key: TEIIDDES-2612
> URL: https://issues.jboss.org/browse/TEIIDDES-2612
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0, 9.1
> Reporter: Barry LaFond
>
> I set up a 2 projects with a single model in it. Project 1 has a read-only -model, Project 2 has a writeable model.
> I can delete Project 2, but Project 1 sends up a error message dialog that it can't delete because the project has a read-only file in it.
> Looking at DeleteResourcesRefactoring.checkResource(), it starts with checking if the resource is in the selected list. If not selected, it'll be an ERROR if a child resources is READ-ONLY, rather than a WARNING.
> Further down the method it checks for read-only state of the resource and will set the message.
> Problem is the Selected/Top-level Project should determine the severity of the read-only check. At most, the message should be an OK/Warning dialog to ask the user "Read-only resources found... do you still wish to delete?"
> adding a method to check that *allProjectsSelected()* and switching the ERROR read-only status to WARNING at the start of the method seems to work.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (TEIIDDES-2610) Add some default values to importer properties in Teiid Connection Importer
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2610?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2610:
-----------------------------------
Attachment: TeiidPropertyDefinition.patch
SelectTranslatorPage.patch
> Add some default values to importer properties in Teiid Connection Importer
> ---------------------------------------------------------------------------
>
> Key: TEIIDDES-2610
> URL: https://issues.jboss.org/browse/TEIIDDES-2610
> Project: Teiid Designer
> Issue Type: Enhancement
> Components: Import/Export
> Affects Versions: 9.1
> Reporter: Barry LaFond
> Fix For: 9.2
>
> Attachments: SelectTranslatorPage.patch, TeiidPropertyDefinition.patch
>
>
> Importing JDBC sources via Teiid Connection importer can be streamlined by providing/setting certain default import property values.
> 2 such properties are:
> *Table Types* > *TABLE*
> *use Qualified Name* > *false*
> This will help in the most common use-case to reduce the number of steps to importer and improve the experience of first-time users.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (TEIIDDES-2613) Updates for Admin8Factory
by Mark Drilling (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2613?page=com.atlassian.jira.plu... ]
Mark Drilling updated TEIIDDES-2613:
------------------------------------
Attachment: Admin8Factory.patch
TCExecutionAdmin.patch
> Updates for Admin8Factory
> -------------------------
>
> Key: TEIIDDES-2613
> URL: https://issues.jboss.org/browse/TEIIDDES-2613
> Project: Teiid Designer
> Issue Type: Bug
> Components: VDB & Execution
> Reporter: Mark Drilling
> Assignee: Barry LaFond
> Attachments: Admin8Factory.patch, TCExecutionAdmin.patch
>
>
> Attaching a patch for Admin8Factory.getDataSource method updates.
> Since the dataSource names were being co-mingled, the first cli call in getDataSource could fail if the provided name was an xa-datasource or connectionFactory RA source).
> The change stores the ds names separately by type. Then the appropriate cli call can be made depending on the source type.
> Also attaching a patch for the TCExecutionAdmin class from Komodo. The exception handling was changed in the refresh method, so that an exception early in the process would not short circuit the entire operation.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (TEIIDDES-2613) Updates for Admin8Factory
by Mark Drilling (JIRA)
Mark Drilling created TEIIDDES-2613:
---------------------------------------
Summary: Updates for Admin8Factory
Key: TEIIDDES-2613
URL: https://issues.jboss.org/browse/TEIIDDES-2613
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Reporter: Mark Drilling
Assignee: Barry LaFond
Attachments: Admin8Factory.patch, TCExecutionAdmin.patch
Attaching a patch for Admin8Factory.getDataSource method updates.
Since the dataSource names were being co-mingled, the first cli call in getDataSource could fail if the provided name was an xa-datasource or connectionFactory RA source).
The change stores the ds names separately by type. Then the appropriate cli call can be made depending on the source type.
Also attaching a patch for the TCExecutionAdmin class from Komodo. The exception handling was changed in the refresh method, so that an exception early in the process would not short circuit the entire operation.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (TEIIDDES-2612) Cannot delete a model project with a read-only model in it.
by Andrej Šmigala (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2612?page=com.atlassian.jira.plu... ]
Andrej Šmigala updated TEIIDDES-2612:
-------------------------------------
Workaround Description: Delete the read-only file first (Designer will warn the file is read-only, but allow deleting it after a confirmation) and then delete the project
Workaround: Workaround Exists
> Cannot delete a model project with a read-only model in it.
> -----------------------------------------------------------
>
> Key: TEIIDDES-2612
> URL: https://issues.jboss.org/browse/TEIIDDES-2612
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 9.0, 9.1
> Reporter: Barry LaFond
>
> I set up a 2 projects with a single model in it. Project 1 has a read-only -model, Project 2 has a writeable model.
> I can delete Project 2, but Project 1 sends up a error message dialog that it can't delete because the project has a read-only file in it.
> Looking at DeleteResourcesRefactoring.checkResource(), it starts with checking if the resource is in the selected list. If not selected, it'll be an ERROR if a child resources is READ-ONLY, rather than a WARNING.
> Further down the method it checks for read-only state of the resource and will set the message.
> Problem is the Selected/Top-level Project should determine the severity of the read-only check. At most, the message should be an OK/Warning dialog to ask the user "Read-only resources found... do you still wish to delete?"
> F
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (TEIIDDES-2612) Cannot delete a model project with a read-only model in it.
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-2612:
--------------------------------------
Summary: Cannot delete a model project with a read-only model in it.
Key: TEIIDDES-2612
URL: https://issues.jboss.org/browse/TEIIDDES-2612
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 9.1, 9.0
Reporter: Barry LaFond
I set up a 2 projects with a single model in it. Project 1 has a read-only -model, Project 2 has a writeable model.
I can delete Project 2, but Project 1 sends up a error message dialog that it can't delete because the project has a read-only file in it.
Looking at DeleteResourcesRefactoring.checkResource(), it starts with checking if the resource is in the selected list. If not selected, it'll be an ERROR if a child resources is READ-ONLY, rather than a WARNING.
Further down the method it checks for read-only state of the resource and will set the message.
Problem is the Selected/Top-level Project should determine the severity of the read-only check. At most, the message should be an OK/Warning dialog to ask the user "Read-only resources found... do you still wish to delete?"
F
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months
[JBoss JIRA] (TEIIDDES-2611) Resize transformation editor crash Developer Studio
by Matej Kralik (JIRA)
Matej Kralik created TEIIDDES-2611:
--------------------------------------
Summary: Resize transformation editor crash Developer Studio
Key: TEIIDDES-2611
URL: https://issues.jboss.org/browse/TEIIDDES-2611
Project: Teiid Designer
Issue Type: Bug
Components: Editors
Affects Versions: 9.0.3
Environment: Max OS X (10.10.3)
Mac mini (Late 2012)
Reporter: Matej Kralik
Priority: Minor
When I resize transformation editor window in XML document model, developer studio crash.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 8 months