cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Razumovsky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1159) Switching between adapter templates in sql template queries sometimes results in overwriting the template
Date Wed, 14 Jan 2009 14:57:45 GMT

    [ https://issues.apache.org/cayenne/browse/CAY-1159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228#action_13228
] 

Andrey Razumovsky commented on CAY-1159:
----------------------------------------

I've been unable to reproduce the issue, no matter how hard I tried, seems these are Mac jokes
again. Looking at the code, I can only guess that Apple Java is incorrect in handling "valueIsAdjusting".
Could you try to remove line 125 in SQLTemplateScriptsTab and try again?

> Switching between adapter templates in sql template queries sometimes results in overwriting
the template
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CAY-1159
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1159
>             Project: Cayenne
>          Issue Type: Bug
>          Components: CayenneModeler GUI
>    Affects Versions: 3.0M5
>         Environment: os x 10.5, java 1.5
>            Reporter: Robert Zeigler
>
> When working with sql template queries in the modeler, I have noticed that sometimes,
when I switch from, eg, the default template to another template (eg: Hypersonic DB) or vice
versa, the text area box is not properly updated, and so the value from the switched from
template is stored into the switched to template.
> For example, this evening, I was working with a query with the default and hsqldb templates.
 I had been working on the hsqldb template, and switched to the default template, but the
text in the default template was now the same as the text in the hsqldb template. This doesn't
always happen, but it happens often enough to be annoying.  I haven't had time (and won't
until after the new year) to figure out under exactly which circumstances this occurs; I will
track it down when I have a bit more time.

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


Mime
View raw message