You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Thomas Bernhard (JIRA)" <de...@cayenne.apache.org> on 2007/10/26 19:30:50 UTC

[JIRA] Created: (CAY-907) CM Usability: Adapters without driver should be in red

CM Usability: Adapters without driver should be in red
------------------------------------------------------

                 Key: CAY-907
                 URL: https://issues.apache.org/cayenne/browse/CAY-907
             Project: Cayenne
          Issue Type: New Feature
          Components: CayenneModeler GUI
            Reporter: Thomas Bernhard
            Assignee: Andrus Adamchik


Please mark with a different color: e.g. red (or just waved red underline like in IDEs) the Adapters (and maybe connections too) that have no driver in the classpath. This should be all over in CM.

This is a usability issue and such a feature is present in professional DB tools - it saves allot of time when working with differnt DBs (and especially with different DB versions).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAY-907) CM Usability: Adapters without driver should be in red

Posted by "Kevin Menard (JIRA)" <de...@cayenne.apache.org>.
     [ https://issues.apache.org/cayenne/browse/CAY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Menard reassigned CAY-907:
--------------------------------

    Assignee: Kevin Menard  (was: Andrus Adamchik)

> CM Usability: Adapters without driver should be in red
> ------------------------------------------------------
>
>                 Key: CAY-907
>                 URL: https://issues.apache.org/cayenne/browse/CAY-907
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: CayenneModeler GUI
>            Reporter: Thomas Bernhard
>            Assignee: Kevin Menard
>
> Please mark with a different color: e.g. red (or just waved red underline like in IDEs) the Adapters (and maybe connections too) that have no driver in the classpath. This should be all over in CM.
> This is a usability issue and such a feature is present in professional DB tools - it saves allot of time when working with differnt DBs (and especially with different DB versions).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-907) CM Usability: Adapters without driver should be in red

Posted by "Gustav Weber (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932#action_12932 ] 

Gustav Weber commented on CAY-907:
----------------------------------

If I see right, this request was about adapters in first place. Could we have at least that feature please?
I know that CM is not a DB tool, but here is about usability and about not loosing time with unnecessary things. At the moment, the user must try each one just to see that it forgot to add one driver.

> CM Usability: Adapters without driver should be in red
> ------------------------------------------------------
>
>                 Key: CAY-907
>                 URL: https://issues.apache.org/cayenne/browse/CAY-907
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: CayenneModeler GUI
>            Reporter: Thomas Bernhard
>            Assignee: Kevin Menard
>
> Please mark with a different color: e.g. red (or just waved red underline like in IDEs) the Adapters (and maybe connections too) that have no driver in the classpath. This should be all over in CM.
> This is a usability issue and such a feature is present in professional DB tools - it saves allot of time when working with differnt DBs (and especially with different DB versions).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-907) CM Usability: Adapters without driver should be in red

Posted by "Andrey Razumovsky (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12875#action_12875 ] 

Andrey Razumovsky commented on CAY-907:
---------------------------------------

With adapters everything seems clear, although i'd prefer using just strikethrough font for adapters without drivers in CP.
What about 'connections'? Does that mean selecting datasources in DataNode configuration or inputting driver name in DataNode tab or Local DataSources page? If first, we can the same way use strikethrough font, if latter - driver's textfields should probably be in red like other validated fields.

> CM Usability: Adapters without driver should be in red
> ------------------------------------------------------
>
>                 Key: CAY-907
>                 URL: https://issues.apache.org/cayenne/browse/CAY-907
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: CayenneModeler GUI
>            Reporter: Thomas Bernhard
>            Assignee: Kevin Menard
>
> Please mark with a different color: e.g. red (or just waved red underline like in IDEs) the Adapters (and maybe connections too) that have no driver in the classpath. This should be all over in CM.
> This is a usability issue and such a feature is present in professional DB tools - it saves allot of time when working with differnt DBs (and especially with different DB versions).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-907) CM Usability: Adapters without driver should be in red

Posted by "Kevin Menard (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933#action_12933 ] 

Kevin Menard commented on CAY-907:
----------------------------------

Hi Gustav,

The problem is that a lot of people will use the modeler for working with their data model and never use it to connect to a DB.  For them, they will always see an error about not having the proper driver on the classpath.

If you use a local datasource for your DB operations, you'll receive an error message about not being able to load the driver.  This implies a classpath issue.  I'd highly recommend you use a local datasource for your DB work.

> CM Usability: Adapters without driver should be in red
> ------------------------------------------------------
>
>                 Key: CAY-907
>                 URL: https://issues.apache.org/cayenne/browse/CAY-907
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: CayenneModeler GUI
>            Reporter: Thomas Bernhard
>            Assignee: Kevin Menard
>
> Please mark with a different color: e.g. red (or just waved red underline like in IDEs) the Adapters (and maybe connections too) that have no driver in the classpath. This should be all over in CM.
> This is a usability issue and such a feature is present in professional DB tools - it saves allot of time when working with differnt DBs (and especially with different DB versions).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-907) CM Usability: Adapters without driver should be in red

Posted by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876#action_12876 ] 

Andrus Adamchik commented on CAY-907:
-------------------------------------

Re-reading the issue one more time, I think I am actually against this feature. It assumes that CM is a "DB tool" . It is a Modeler, and users may not care about DB connectivity at all. 

  -1

> CM Usability: Adapters without driver should be in red
> ------------------------------------------------------
>
>                 Key: CAY-907
>                 URL: https://issues.apache.org/cayenne/browse/CAY-907
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: CayenneModeler GUI
>            Reporter: Thomas Bernhard
>            Assignee: Kevin Menard
>
> Please mark with a different color: e.g. red (or just waved red underline like in IDEs) the Adapters (and maybe connections too) that have no driver in the classpath. This should be all over in CM.
> This is a usability issue and such a feature is present in professional DB tools - it saves allot of time when working with differnt DBs (and especially with different DB versions).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAY-907) CM Usability: Adapters without driver should be in red

Posted by "Kevin Menard (JIRA)" <de...@cayenne.apache.org>.
    [ https://issues.apache.org/cayenne/browse/CAY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882#action_12882 ] 

Kevin Menard commented on CAY-907:
----------------------------------

Upon further consideration, I think I agree with Andrus.  We could do the validation on local datasources, but it would be of questionable value since the exception message is already fairly clear.  We could wrap the exception to make it more user friendly if need be.  For non-datasources, the user may simply not care if they can connect to the DB from the modeler.

There's obviously a lot of value for those that need to connect, but I'd advocate just using a local datasource in that case.

> CM Usability: Adapters without driver should be in red
> ------------------------------------------------------
>
>                 Key: CAY-907
>                 URL: https://issues.apache.org/cayenne/browse/CAY-907
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: CayenneModeler GUI
>            Reporter: Thomas Bernhard
>            Assignee: Kevin Menard
>
> Please mark with a different color: e.g. red (or just waved red underline like in IDEs) the Adapters (and maybe connections too) that have no driver in the classpath. This should be all over in CM.
> This is a usability issue and such a feature is present in professional DB tools - it saves allot of time when working with differnt DBs (and especially with different DB versions).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAY-907) CM Usability: Adapters without driver should be in red

Posted by "Kevin Menard (JIRA)" <de...@cayenne.apache.org>.
     [ https://issues.apache.org/cayenne/browse/CAY-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Menard resolved CAY-907.
------------------------------

    Resolution: Won't Fix

Resolving this as "won't fix" based on developer feedback in comments.  If someone feels strongly against it, please reopen the issue.  If no one has spoken up by the time we go to cut the 3.0 M5 release, I'm going to close it.

> CM Usability: Adapters without driver should be in red
> ------------------------------------------------------
>
>                 Key: CAY-907
>                 URL: https://issues.apache.org/cayenne/browse/CAY-907
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: CayenneModeler GUI
>            Reporter: Thomas Bernhard
>            Assignee: Kevin Menard
>
> Please mark with a different color: e.g. red (or just waved red underline like in IDEs) the Adapters (and maybe connections too) that have no driver in the classpath. This should be all over in CM.
> This is a usability issue and such a feature is present in professional DB tools - it saves allot of time when working with differnt DBs (and especially with different DB versions).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.