[jira] [Updated] (CAY-2521) Expression without Object ID disjoint issue

2019-02-11 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2521:

Labels: pull-request-available  (was: )

> Expression without Object ID disjoint issue
> ---
>
> Key: CAY-2521
> URL: https://issues.apache.org/jira/browse/CAY-2521
> Project: Cayenne
>  Issue Type: Bug
>Affects Versions: 4.0, 4.0.1, 4.1.M3
>Reporter: Vital Zanko
>Assignee: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.2, 4.1.M3
>
> Attachments: disjoint issue.png
>
>
> As an example, there are three tables: issue, team, location. There are some 
> relationships among them:
>  * issue.home_team_id = team.id
>  * issue.location_id = location.id
>  * location.team_id = team.id
>  * team.home_location_id = location.id
> !disjoint issue.png!
> {code:java}
> Team team = Cayenne.objectForPK(localContext, Team.class, 1);
>   
> SelectQuery select = new SelectQuery<>(Issue.class, 
> ExpressionFactory.exp("homeTeam = 1"));
> select.addPrefetch(Issue.HOME_TEAM.disjoint());
> select.addPrefetch(Issue.LOCATION.disjoint());
> select.addPrefetch(Issue.HOME_TEAM.dot(Team.HOME_LOCATION).disjoint());
> List issues = localContext.select(select);
> {code}
> This causes following sql query for prefetched team's home location objects 
> which doesn't correlate with the expression (it shouldn't be applied on): 
> {code:java}
> [05/Feb/2019:09:36:37,102] bootique-http-41 u=user1 INFO  
> o.a.c.l.JdbcEventLogger: SELECT t0.name, t0.id, t0.team_id FROM mydb.location 
> t0 WHERE t0.id = ? [bind: 1->id:1]
> [05/Feb/2019:09:36:37,104] bootique-http-41 u=user1 INFO  
> o.a.c.l.JdbcEventLogger: === returned 0 rows. - took 3 ms.
> {code}
>  
> The issue will be resolved when Object Id is being used as a parameter in the 
> expression:
> {code:java}
> SelectQuery select = new SelectQuery<>(Issue.class, 
> ExpressionFactory.exp("homeTeam = $id" , (Object) team.getObjectId()));
> // some custom code
> select.addPrefetch(Issue.HOME_TEAM.dot(Team.HOME_LOCATION).disjoint());
> List issues = localContext.select(select);{code}
> {code:java}
> [05/Feb/2019:09:56:25,087] bootique-http-34 u=user1 INFO  
> o.a.c.l.JdbcEventLogger: SELECT t0.name, t0.id, t0.team_id FROM mydb.location 
> t0 JOIN mydb.team t1 ON (t0.id = t1.home_location_id) WHERE t1.id = ? [bind: 
> 1->id:1]
> [05/Feb/2019:09:56:25,100] bootique-http-34 u=user1 INFO  
> o.a.c.l.JdbcEventLogger: === returned 1 row. - took 13 ms.{code}
>  
> Or the issue will be also resolved in case of expression without object id 
> when java code declares _disjoint by id_
> {code:java}
> SelectQuery select = new SelectQuery<>(Issue.class, 
> ExpressionFactory.exp("homeTeam = 1"));
> // some custom code
> select.addPrefetch(Issue.HOME_TEAM.dot(Team.HOME_LOCATION).disjointById());
> List issues = localContext.select(select);
> {code}
> {code:java}
> [05/Feb/2019:09:59:23,605] bootique-http-36 u=user1 INFO  
> o.a.c.l.JdbcEventLogger: --- transaction started.
> [05/Feb/2019:09:59:23,606] bootique-http-36 u=user1 INFO  
> o.a.c.l.JdbcEventLogger: SELECT t0.name, t0.id, t0.team_id FROM mydb.location 
> t0 WHERE t0.id = ? [bind: 1->id:71]
> [05/Feb/2019:09:59:23,609] bootique-http-36 u=user1 INFO  
> o.a.c.l.JdbcEventLogger: === returned 1 row. - took 4 ms.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2519) Use NoopEventManager if SERVER_CONTEXTS_SYNC_PROPERTY is false

2019-02-07 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2519:

Labels: pull-request-available  (was: )

> Use NoopEventManager if SERVER_CONTEXTS_SYNC_PROPERTY is false
> --
>
> Key: CAY-2519
> URL: https://issues.apache.org/jira/browse/CAY-2519
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Affects Versions: 4.0.2
>Reporter: Arseni Bulatski
>Assignee: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.2
>
>
> 1) Create NoopEventManager if  SERVER_CONTEXTS_SYNC_PROPERTY is false
> 2) Optimize DataContext: If  SERVER_CONTEXTS_SYNC_PROPERTY is false don't 
> create mergeHandler.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2518) Add method to append having qualifier expression to ObjectSelect

2019-02-06 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2518:

Labels: pull-request-available  (was: )

> Add method to append having qualifier expression to ObjectSelect
> 
>
> Key: CAY-2518
> URL: https://issues.apache.org/jira/browse/CAY-2518
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Affects Versions: 4.1.M3, 4.2.M1
>Reporter: Arseni Bulatski
>Assignee: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3, 4.2.M1
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2486) DI Customizable Accessor implementation

2019-02-04 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2486:

Labels: pull-request-available  (was: )

> DI Customizable Accessor implementation
> ---
>
> Key: CAY-2486
> URL: https://issues.apache.org/jira/browse/CAY-2486
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> In short this task is about managing in DI 
> {{org.apache.cayenne.reflect.Accessor}} that is currently implemented by 
> {{BeanAccessor}} and is hard to change.
> See 
> [discussion|https://lists.apache.org/thread.html/c2e8e31d5d241e1ad2f217900236d61e4eb3c56d82760f32af3c4e2b@%3Cdev.cayenne.apache.org%3E]
>  for details.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2514) Set SERVER_CONTEXTS_SYNC_PROPERTY default value to false

2019-01-18 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2514:

Labels: pull-request-available  (was: )

> Set SERVER_CONTEXTS_SYNC_PROPERTY default value to false
> 
>
> Key: CAY-2514
> URL: https://issues.apache.org/jira/browse/CAY-2514
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Affects Versions: 4.1.M3, 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3, 4.2.M1
>
>
> Set SERVER_CONTEXTS_SYNC_PROPERTY default value to false because it is more 
> relevant now.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2511) Contribute custom properties for attributes

2019-01-14 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2511:

Labels: pull-request-available  (was: )

> Contribute custom properties for attributes
> ---
>
> Key: CAY-2511
> URL: https://issues.apache.org/jira/browse/CAY-2511
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Allow to add custom properties for attributes and generate classes with this 
> custom properties.
>  * First you need to create custom property.
>  * Create PropertyDescriptorCreator
>  * Contribute descriptor creator to CgenModule: 
> CgenModule.contributeUserProperties(binder).add(CustomPropertyDescriptorCreator.class);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2511) Contribute custom properties for attributes

2019-01-14 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2511:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/361

CAY-2511 Contribute custom properties for attributes



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2511

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/361.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #361


commit 1a295863ecc465509504a67774d8ce105c348432
Author: Arseni Bulatski 
Date:   2019-01-14T10:45:37Z

CAY-2511 Contribute custom properties for attributes




> Contribute custom properties for attributes
> ---
>
> Key: CAY-2511
> URL: https://issues.apache.org/jira/browse/CAY-2511
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Allow to add custom properties for attributes and generate classes with this 
> custom properties.
>  * First you need to create custom property.
>  * Create PropertyDescriptorCreator
>  * Contribute descriptor creator to CgenModule: 
> CgenModule.contributeUserProperties(binder).add(CustomPropertyDescriptorCreator.class);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2510) Create builder to load custom modules into plugins and modeler

2019-01-10 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2510:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/360


> Create builder to load custom modules into plugins and modeler
> --
>
> Key: CAY-2510
> URL: https://issues.apache.org/jira/browse/CAY-2510
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Should be created because now ServerRuntimeBuilder loads and configures 
> modules while we don't have ServerRuntimeBuilder in plugins and modeler.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2510) Create builder to load custom modules into plugins and modeler

2019-01-10 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2510:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/360

CAY-2510 Create builder to load custom modules into plugins and modeler



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2510

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/360.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #360


commit 0cc27d6f20a8523dcf8f394895106531d7122bbe
Author: Arseni Bulatski 
Date:   2019-01-10T15:12:48Z

CAY-2510 Create builder to load custom modules into plugins and modeler




> Create builder to load custom modules into plugins and modeler
> --
>
> Key: CAY-2510
> URL: https://issues.apache.org/jira/browse/CAY-2510
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Should be created because now ServerRuntimeBuilder loads and configures 
> modules while we don't have ServerRuntimeBuilder in plugins and modeler.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2510) Create builder to load custom modules into plugins and modeler

2019-01-10 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2510:

Labels: pull-request-available  (was: )

> Create builder to load custom modules into plugins and modeler
> --
>
> Key: CAY-2510
> URL: https://issues.apache.org/jira/browse/CAY-2510
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Should be created because now ServerRuntimeBuilder loads and configures 
> modules while we don't have ServerRuntimeBuilder in plugins and modeler.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2508) Create api to add aliases in expressions

2019-01-09 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2508:
-

Github user aarrsseni closed the pull request at:

https://github.com/apache/cayenne/pull/358


> Create api to add aliases in expressions
> 
>
> Key: CAY-2508
> URL: https://issues.apache.org/jira/browse/CAY-2508
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Add api to add aliases in expressions.
> Cab be used in qualifiers to have several joins to one table, in orderings, 
> in column queries and having qualifiers.
> Supported by relationship properties.
> Example:
> ExpressionFactory.exp("paintingArray#p1.paintingTitle = 'title'");



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2509) Result of resolving lazily faulted relationships can be out-of-date

2019-01-09 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2509:

Labels: pull-request-available  (was: )

> Result of resolving lazily faulted relationships can be out-of-date
> ---
>
> Key: CAY-2509
> URL: https://issues.apache.org/jira/browse/CAY-2509
> Project: Cayenne
>  Issue Type: Bug
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Resolving lazily faulted to-one and to-many relationships can be out-of-date 
> when you expect up-to-date data from database.
> This happened because of getting data from snapshot cache instead of database.
> Case:
> 1) Create context
> 2) Select Artist from database, then get artist's paintings
> 3) direct update painting table
> 4) Create new context
> 5) Do step 2
> Painting from step 5 is not updated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2509) Result of resolving lazily faulted relationships can be out-of-date

2019-01-09 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2509:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/359

CAY-2509 Result of resolving lazily faulted relationships can be out-…

…of-date

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2509

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/359.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #359


commit 30b95678575e3fce71298b1cc50082000956b16a
Author: Arseni Bulatski 
Date:   2019-01-09T10:14:49Z

CAY-2509 Result of resolving lazily faulted relationships can be out-of-date




> Result of resolving lazily faulted relationships can be out-of-date
> ---
>
> Key: CAY-2509
> URL: https://issues.apache.org/jira/browse/CAY-2509
> Project: Cayenne
>  Issue Type: Bug
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Resolving lazily faulted to-one and to-many relationships can be out-of-date 
> when you expect up-to-date data from database.
> This happened because of getting data from snapshot cache instead of database.
> Case:
> 1) Create context
> 2) Select Artist from database, then get artist's paintings
> 3) direct update painting table
> 4) Create new context
> 5) Do step 2
> Painting from step 5 is not updated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2508) Create api to add aliases in expressions

2019-01-04 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2508:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/358

CAY-2508 Create api to add aliases in expressions



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2508

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/358.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #358


commit c1272b17b5b96bb55f8029c8ef1186bdb1a10199
Author: Arseni Bulatski 
Date:   2019-01-03T14:02:50Z

CAY-2508 Create api to add aliases in expressions




> Create api to add aliases in expressions
> 
>
> Key: CAY-2508
> URL: https://issues.apache.org/jira/browse/CAY-2508
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Add api to add aliases in expressions.
> Cab be used in qualifiers to have several joins to one table, in orderings, 
> in column queries and having qualifiers.
> Supported by relationship properties.
> Example:
> ExpressionFactory.exp("paintingArray#p1.paintingTitle = 'title'");



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2508) Create api to add aliases in expressions

2019-01-04 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2508:

Labels: pull-request-available  (was: )

> Create api to add aliases in expressions
> 
>
> Key: CAY-2508
> URL: https://issues.apache.org/jira/browse/CAY-2508
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Add api to add aliases in expressions.
> Cab be used in qualifiers to have several joins to one table, in orderings, 
> in column queries and having qualifiers.
> Supported by relationship properties.
> Example:
> ExpressionFactory.exp("paintingArray#p1.paintingTitle = 'title'");



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2507) Property api to add aliases

2019-01-04 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2507:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/357


> Property api to add aliases
> ---
>
> Key: CAY-2507
> URL: https://issues.apache.org/jira/browse/CAY-2507
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Add method to create aliases for properties.
> Cab be used in qualifiers to have several joins to one table, in orderings, 
> in column queries and having qualifiers.
> Supported by relationship properties.
> Example:
> ObjectSelect.query(Artist.class)
>  
> .where(Artist.PAINTING_ARRAY.alias("p1").dot(Painting.PAINTING_TITLE).eq("painting2"))
>  
> .and(Artist.PAINTING_ARRAY.alias("p2").dot(Painting.PAINTING_TITLE).eq("painting4"))
>  .select(context);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2507) Property api to add aliases

2019-01-02 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2507:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/357

CAY-2507 Property api to add aliases



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2507

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/357.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #357


commit e996e8001658698ecd4ccc56f41aafd4e04b0924
Author: Arseni Bulatski 
Date:   2018-12-29T13:58:14Z

CAY-2507 Property api to add aliases




> Property api to add aliases
> ---
>
> Key: CAY-2507
> URL: https://issues.apache.org/jira/browse/CAY-2507
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
>
> Add method to create aliases for properties.
> Cab be used in qualifiers to have several joins to one table, in orderings, 
> in column queries and having qualifiers.
> Supported by relationship properties.
> Example:
> ObjectSelect.query(Artist.class)
>  
> .where(Artist.PAINTING_ARRAY.alias("p1").dot(Painting.PAINTING_TITLE).eq("painting2"))
>  
> .and(Artist.PAINTING_ARRAY.alias("p2").dot(Painting.PAINTING_TITLE).eq("painting4"))
>  .select(context);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2507) Property api to add aliases

2019-01-02 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2507:

Labels: pull-request-available  (was: )

> Property api to add aliases
> ---
>
> Key: CAY-2507
> URL: https://issues.apache.org/jira/browse/CAY-2507
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.2.M1
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
>
> Add method to create aliases for properties.
> Cab be used in qualifiers to have several joins to one table, in orderings, 
> in column queries and having qualifiers.
> Supported by relationship properties.
> Example:
> ObjectSelect.query(Artist.class)
>  
> .where(Artist.PAINTING_ARRAY.alias("p1").dot(Painting.PAINTING_TITLE).eq("painting2"))
>  
> .and(Artist.PAINTING_ARRAY.alias("p2").dot(Painting.PAINTING_TITLE).eq("painting4"))
>  .select(context);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2497) SQL Scripts tab isn't scrollable

2018-11-23 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2497:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/354


> SQL Scripts tab isn't scrollable
> 
>
> Key: CAY-2497
> URL: https://issues.apache.org/jira/browse/CAY-2497
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M2, 4.0
>Reporter: Arseni Bulatski
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> Make SQL Scripts tab scrollable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2497) SQL Scripts tab isn't scrollable

2018-11-23 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2497:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/354

CAY-2497 Modeler: SQL Scripts tab isn't scrollable



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2497_4.0

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/354.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #354


commit 7203355242918ddae8c2fb333587679254f2ee2e
Author: Arseni Bulatski 
Date:   2018-11-23T09:32:56Z

CAY-2497 Modeler: SQL Scripts tab isn't scrollable




> SQL Scripts tab isn't scrollable
> 
>
> Key: CAY-2497
> URL: https://issues.apache.org/jira/browse/CAY-2497
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M2, 4.0
>Reporter: Arseni Bulatski
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> Make SQL Scripts tab scrollable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2497) SQL Scripts tab isn't scrollable

2018-11-22 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2497:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/348


> SQL Scripts tab isn't scrollable
> 
>
> Key: CAY-2497
> URL: https://issues.apache.org/jira/browse/CAY-2497
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Make SQL Scripts tab scrollable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2497) SQL Scripts tab isn't scrollable

2018-11-19 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2497:

Labels: pull-request-available  (was: )

> SQL Scripts tab isn't scrollable
> 
>
> Key: CAY-2497
> URL: https://issues.apache.org/jira/browse/CAY-2497
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Make SQL Scripts tab scrollable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2497) SQL Scripts tab isn't scrollable

2018-11-19 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2497:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/348

CAY-2497 Modeler: SQL Scripts tab isn't scrollable



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2497

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/348.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #348


commit c339c308f327243a9294f00ee054ab0b8df2a10d
Author: Arseni Bulatski 
Date:   2018-11-19T09:15:51Z

CAY-2497 Modeler: SQL Scripts tab isn't scrollable




> SQL Scripts tab isn't scrollable
> 
>
> Key: CAY-2497
> URL: https://issues.apache.org/jira/browse/CAY-2497
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Make SQL Scripts tab scrollable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2494) Rename dbImport tag from 'config' to 'dbImport'

2018-11-15 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2494:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/345


> Rename dbImport tag from 'config' to 'dbImport'
> ---
>
> Key: CAY-2494
> URL: https://issues.apache.org/jira/browse/CAY-2494
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Rename dbImport tag in datamap to 'dbImport'. Previous value was 'config'. 
> Need to save backward compatibility.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2493) Save cgen configuration with datamap XML

2018-11-14 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2493:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/342


> Save cgen configuration with datamap XML
> 
>
> Key: CAY-2493
> URL: https://issues.apache.org/jira/browse/CAY-2493
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Modeler, Non-GUI Tools
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> This task is about saving and managing cgen config inside data map file. It 
> also requires UI changes (as done with reverse engineering config per 
> CAY-2337)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2494) Rename dbImport tag from 'config' to 'dbImport'

2018-11-12 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2494:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/345

CAY-2494 Rename dbImport tag from 'config' to 'dbImport'



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2494

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/345.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #345


commit dd9bf2ecb9d88687d9b5bcce5c5553f33a7299a9
Author: Arseni Bulatski 
Date:   2018-11-12T12:06:29Z

CAY-2494 Rename dbImport tag from 'config' to 'dbImport'




> Rename dbImport tag from 'config' to 'dbImport'
> ---
>
> Key: CAY-2494
> URL: https://issues.apache.org/jira/browse/CAY-2494
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Rename dbImport tag in datamap to 'dbImport'. Previous value was 'config'. 
> Need to save backward compatibility.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2494) Rename dbImport tag from 'config' to 'dbImport'

2018-11-12 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2494:

Labels: pull-request-available  (was: )

> Rename dbImport tag from 'config' to 'dbImport'
> ---
>
> Key: CAY-2494
> URL: https://issues.apache.org/jira/browse/CAY-2494
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Rename dbImport tag in datamap to 'dbImport'. Previous value was 'config'. 
> Need to save backward compatibility.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2493) Save cgen configuration with datamap XML

2018-11-09 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2493:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/342

CAY-2493 Save cgen configuration with datamap XML



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2493

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/342.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #342


commit 8119ffaa88f70787590df6b23bc86c031337b921
Author: Arseni Bulatski 
Date:   2018-06-14T13:57:22Z

cgen. create ui

commit d489f2a5b45be473ffd7a07a6a18bc971940e1bc
Author: Arseni Bulatski 
Date:   2018-06-18T12:04:56Z

Cgen. Create saver and loader for dataMaps.

commit b85a090025c21e1cbe781f47c58737fefb67e892
Author: Arseni Bulatski 
Date:   2018-06-20T07:50:42Z

Create global cgen action.

commit 0e19c96147992fcbd10d285d13d3b029cc013f7d
Author: Arseni Bulatski 
Date:   2018-06-21T13:55:07Z

Cgen. Refactoring, changes

commit e41f1e44e801ff80640983fa621c84f0049a1113
Author: Arseni Bulatski 
Date:   2018-06-22T12:56:59Z

Create global cgen config

commit b10cd803a005065ed55f07ba57eb9dce3b5addbf
Author: Arseni Bulatski 
Date:   2018-06-26T10:45:41Z

Add merge pom config with dataMap config

commit d9db6e3123eae9e2863058c88d455837a244821c
Author: Arseni Bulatski 
Date:   2018-06-28T12:00:26Z

Add loading cgen config loading from datamap to maven, ant and gradle 
plugins

commit 93da6be17b9b8cd5ad9c4cb5184565b426991393
Author: Arseni Bulatski 
Date:   2018-06-29T10:42:55Z

Create tests for maven, ant and gradle

commit aa22c93c536a6ee82e1bdd4e364113473f77135f
Author: Arseni Bulatski 
Date:   2018-07-06T12:59:27Z

Update cgen dialog

commit 6a43436ab12017594762210c18dd508e2f2ded9d
Author: Arseni Bulatski 
Date:   2018-10-31T07:51:32Z

Add cgen tab.

commit 52ea45b5d72b5a6b1466e7779e03753c74ebaf3b
Author: Arseni Bulatski 
Date:   2018-10-31T13:33:52Z

Cgen tab, cgen configuration, cgen in maven, ant, gradle.

commit a5c2ceb9a010c9376e81d7d13352127fcf301315
Author: Arseni Bulatski 
Date:   2018-11-08T14:26:08Z

Cgen

commit b30e5eb5d9e22f7ff0c7d3e8763d9b990bd8cb4d
Author: Arseni Bulatski 
Date:   2018-11-09T12:23:06Z

Cgen task refactoring




> Save cgen configuration with datamap XML
> 
>
> Key: CAY-2493
> URL: https://issues.apache.org/jira/browse/CAY-2493
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Modeler, Non-GUI Tools
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> This task is about saving and managing cgen config inside data map file. It 
> also requires UI changes (as done with reverse engineering config per 
> CAY-2337)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2493) Save cgen configuration with datamap XML

2018-11-09 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2493:

Labels: pull-request-available  (was: )

> Save cgen configuration with datamap XML
> 
>
> Key: CAY-2493
> URL: https://issues.apache.org/jira/browse/CAY-2493
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Modeler, Non-GUI Tools
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> This task is about saving and managing cgen config inside data map file. It 
> also requires UI changes (as done with reverse engineering config per 
> CAY-2337)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2481) Support for Object[] as return type in SQLTemplate and SQLExec

2018-11-05 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2481:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/336


> Support for Object[] as return type in SQLTemplate and SQLExec
> --
>
> Key: CAY-2481
> URL: https://issues.apache.org/jira/browse/CAY-2481
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Add methods to return Object[] after SQLTemplate and SQLSelect perform with 
> predefined types.
> Example:
> List result = SQLSelect.scalarQuery("SELECT PAINTING_ID, 
> PAINTING_TITLE, ESTIMATED_PRICE FROM PAINTING", Integer.class, String.class, 
> Double.class)
>  .select(context);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2481) Support for Object[] as return type in SQLTemplate and SQLExec

2018-10-24 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2481:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/336

CAY-2481 Support for Object[] as return type in SQLTemplate and SQLExec



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2481-update

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/336.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #336


commit 18c72d34710646bed3c51a6b64285a597a56c2b6
Author: Arseni Bulatski 
Date:   2018-10-24T06:26:36Z

CAY-2481 Methods to return Object[] after SQLTemplate and SQLExec perform

commit b1f9ad5b333442e6e51286fa1a3379f83919411c
Author: Arseni Bulatski 
Date:   2018-10-24T09:57:26Z

Update docs




> Support for Object[] as return type in SQLTemplate and SQLExec
> --
>
> Key: CAY-2481
> URL: https://issues.apache.org/jira/browse/CAY-2481
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Add methods to return Object[] after SQLTemplate and SQLSelect perform with 
> predefined types.
> Example:
> List result = SQLSelect.scalarQuery("SELECT PAINTING_ID, 
> PAINTING_TITLE, ESTIMATED_PRICE FROM PAINTING", Integer.class, String.class, 
> Double.class)
>  .select(context);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2489) Add validation to the case of not to PK relationships.

2018-10-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2489:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/334


> Add validation to the case of not to PK relationships.
> --
>
> Key: CAY-2489
> URL: https://issues.apache.org/jira/browse/CAY-2489
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Now there are no any validation to this case. Need to add validation to the 
> case of not to PK relationships.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2487) Remove CayenneException useage

2018-10-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2487:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/332


> Remove CayenneException useage
> --
>
> Key: CAY-2487
> URL: https://issues.apache.org/jira/browse/CAY-2487
> Project: Cayenne
>  Issue Type: Improvement
>Affects Versions: 4.1.M3
>Reporter: Konstantin
>Priority: Minor
>  Labels: pull-request-available
>
> Remove usage of CayenneException. Use CayenneRuntimeException instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2489) Add validation to the case of not to PK relationships.

2018-10-17 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2489:

Labels: pull-request-available  (was: )

> Add validation to the case of not to PK relationships.
> --
>
> Key: CAY-2489
> URL: https://issues.apache.org/jira/browse/CAY-2489
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Now there are no any validation to this case. Need to add validation to the 
> case of not to PK relationships.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2489) Add validation to the case of not to PK relationships.

2018-10-17 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2489:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/334

CAY-2489 Add validation to the case of not to PK relationships



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2489

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/334.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #334


commit 4dbcfd31879aaa1ed070ada9d423f9166f9f8b4f
Author: Arseni Bulatski 
Date:   2018-10-17T07:53:39Z

CAY-2489 Add validation to the case of not to PK relationships




> Add validation to the case of not to PK relationships.
> --
>
> Key: CAY-2489
> URL: https://issues.apache.org/jira/browse/CAY-2489
> Project: Cayenne
>  Issue Type: Task
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Now there are no any validation to this case. Need to add validation to the 
> case of not to PK relationships.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2487) Remove CayenneException useage

2018-10-15 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2487:
-

GitHub user const1993 opened a pull request:

https://github.com/apache/cayenne/pull/332

CAY-2487 Removed usage of CayenneException.

 Removed usage of CayenneException. CayenneException marked as deprecated.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/const1993/cayenne feature/cayenne-exception

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/332.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #332


commit 52df4e18424965ed4947765be88461b560b2ea52
Author: kkomyak 
Date:   2018-10-15T12:13:33Z

CAY-2487 Removed usage of CayenneException. CayenneException marked as 
deprecated.




> Remove CayenneException useage
> --
>
> Key: CAY-2487
> URL: https://issues.apache.org/jira/browse/CAY-2487
> Project: Cayenne
>  Issue Type: Improvement
>Affects Versions: 4.1.M3
>Reporter: Konstantin
>Priority: Minor
>  Labels: pull-request-available
>
> Remove usage of CayenneException. Use CayenneRuntimeException instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2487) Remove CayenneException useage

2018-10-15 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2487:

Labels: pull-request-available  (was: )

> Remove CayenneException useage
> --
>
> Key: CAY-2487
> URL: https://issues.apache.org/jira/browse/CAY-2487
> Project: Cayenne
>  Issue Type: Improvement
>Affects Versions: 4.1.M3
>Reporter: Konstantin
>Priority: Minor
>  Labels: pull-request-available
>
> Remove usage of CayenneException. Use CayenneRuntimeException instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2481) Methods to return Object[] after SQLTemplate and SQLSelect perform

2018-10-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2481:
-

Github user aarrsseni closed the pull request at:

https://github.com/apache/cayenne/pull/331


> Methods to return Object[] after SQLTemplate and SQLSelect perform
> --
>
> Key: CAY-2481
> URL: https://issues.apache.org/jira/browse/CAY-2481
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Add methods to return Object[] after SQLTemplate and SQLSelect perform with 
> predefined types.
> Example:
> List result = SQLSelect.scalarQuery("SELECT PAINTING_ID, 
> PAINTING_TITLE, ESTIMATED_PRICE FROM PAINTING", Integer.class, String.class, 
> Double.class)
>  .select(context);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2481) Methods to return Object[] after SQLTemplate and SQLExec perform

2018-10-10 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2481:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/331

CAY-2481 Methods to return Object[] after SQLTemplate and SQLExec per…

…form

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2481

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/331.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #331


commit cefcc9229babb893626426c2c8ecb1483fe33e6e
Author: Arseni Bulatski 
Date:   2018-10-10T12:47:20Z

CAY-2481 Methods to return Object[] after SQLTemplate and SQLExec perform




> Methods to return Object[] after SQLTemplate and SQLExec perform
> 
>
> Key: CAY-2481
> URL: https://issues.apache.org/jira/browse/CAY-2481
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Add methods to return Object[] after SQLTemplate and SQLExec perform with 
> predefined types.
> Example:
> List result = SQLSelect.scalarQuery("SELECT PAINTING_ID, 
> PAINTING_TITLE, ESTIMATED_PRICE FROM PAINTING", Integer.class, String.class, 
> Double.class)
>  .select(context);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2481) Methods to return Object[] after SQLTemplate and SQLExec perform

2018-10-10 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2481:

Labels: pull-request-available  (was: )

> Methods to return Object[] after SQLTemplate and SQLExec perform
> 
>
> Key: CAY-2481
> URL: https://issues.apache.org/jira/browse/CAY-2481
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Add methods to return Object[] after SQLTemplate and SQLExec perform with 
> predefined types.
> Example:
> List result = SQLSelect.scalarQuery("SELECT PAINTING_ID, 
> PAINTING_TITLE, ESTIMATED_PRICE FROM PAINTING", Integer.class, String.class, 
> Double.class)
>  .select(context);



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2474) Modeler: swap buttons in dialog toolbar

2018-10-08 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2474:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/323


> Modeler: swap buttons in dialog toolbar
> ---
>
> Key: CAY-2474
> URL: https://issues.apache.org/jira/browse/CAY-2474
> Project: Cayenne
>  Issue Type: Task
>  Components: Modeler
>Affects Versions: 4.1.M2, 4.0
>Reporter: Arseni Bulatski
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> Swap buttons in dialogs. Positive button must be on the right, negative 
> button on the left.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2480) cayenne:cdbgen and cayenne:cgen have identical text in cayenne-maven-plugin

2018-10-08 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2480:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/327


> cayenne:cdbgen and cayenne:cgen have identical text in cayenne-maven-plugin
> ---
>
> Key: CAY-2480
> URL: https://issues.apache.org/jira/browse/CAY-2480
> Project: Cayenne
>  Issue Type: Bug
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> The key part of the response is:
> This plugin has 3 goals:
> cayenne:cdbgen
>   Description: Maven mojo to perform class generation from data map. This
>     class is a Maven adapter to DefaultClassGenerator class.
> cayenne:cdbimport
>   Description: Maven mojo to reverse engineer datamap from DB.
> cayenne:cgen
>   Description: Maven mojo to perform class generation from data map. This
>     class is an Maven adapter to DefaultClassGenerator class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2480) cayenne:cdbgen and cayenne:cgen have identical text in cayenne-maven-plugin

2018-10-01 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2480:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/328


> cayenne:cdbgen and cayenne:cgen have identical text in cayenne-maven-plugin
> ---
>
> Key: CAY-2480
> URL: https://issues.apache.org/jira/browse/CAY-2480
> Project: Cayenne
>  Issue Type: Bug
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> The key part of the response is:
> This plugin has 3 goals:
> cayenne:cdbgen
>   Description: Maven mojo to perform class generation from data map. This
>     class is a Maven adapter to DefaultClassGenerator class.
> cayenne:cdbimport
>   Description: Maven mojo to reverse engineer datamap from DB.
> cayenne:cgen
>   Description: Maven mojo to perform class generation from data map. This
>     class is an Maven adapter to DefaultClassGenerator class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2419) Search: selecting search results within one entity

2018-10-01 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2419:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/326


> Search: selecting search results within one entity
> --
>
> Key: CAY-2419
> URL: https://issues.apache.org/jira/browse/CAY-2419
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.0.RC1, 4.1.M1
>Reporter: ana benko
>Assignee: Nikita Timofeev
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 4.1.M2
>
> Attachments: c1.png
>
>
> Precondition:
> I have obj(db)Entity with multiple attribute names, all of which have 
> 'painting' in their name (e.g paintingname, facepainting)
>  
>  # type 'painting' in search field
>  # Start clicking on search results within one entity
> -> only first result is selected and highlighted.  It stays selected when 
> user clicks on another search result within one entity



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2479) Modeler: update cgen dialog

2018-10-01 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2479:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/325


> Modeler: update cgen dialog
> ---
>
> Key: CAY-2479
> URL: https://issues.apache.org/jira/browse/CAY-2479
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Modeler
>Affects Versions: 4.0
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1
>
>
> New dialog view for class generation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2475) Modeler: move inheritance icon to name column in objAttr table and objRel table

2018-10-01 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2475:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/324


> Modeler: move inheritance icon to name column in objAttr table and objRel 
> table
> ---
>
> Key: CAY-2475
> URL: https://issues.apache.org/jira/browse/CAY-2475
> Project: Cayenne
>  Issue Type: Task
>  Components: Modeler
>Affects Versions: 4.1.M2
>Reporter: Arseni Bulatski
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> Move inheritance icon to name column in objAttr table and objRel table. 
> Remove inheritance column from table.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2473) Modeler: cleanup attributes and relationship editors

2018-10-01 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2473:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/322


> Modeler: cleanup attributes and relationship editors
> 
>
> Key: CAY-2473
> URL: https://issues.apache.org/jira/browse/CAY-2473
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Modeler
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> Dialogs for editing ObjAttributes, ObjRelationship and DbRelationship are 
> inconsistent in naming, layout, titles, etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2480) cayenne:cdbgen and cayenne:cgen have identical text in cayenne-maven-plugin

2018-09-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2480:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/328

CAY-2480 cayenne:cdbgen and cayenne:cgen have identical text in cayen…

…ne-maven-plugin

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2480_4.0

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/328.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #328


commit c882d30d9cb37a8ce5128bbdfc2c98b5e4bae5c4
Author: Arseni Bulatski 
Date:   2018-09-27T10:34:12Z

CAY-2480 cayenne:cdbgen and cayenne:cgen have identical text in 
cayenne-maven-plugin




> cayenne:cdbgen and cayenne:cgen have identical text in cayenne-maven-plugin
> ---
>
> Key: CAY-2480
> URL: https://issues.apache.org/jira/browse/CAY-2480
> Project: Cayenne
>  Issue Type: Bug
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> The key part of the response is:
> This plugin has 3 goals:
> cayenne:cdbgen
>   Description: Maven mojo to perform class generation from data map. This
>     class is a Maven adapter to DefaultClassGenerator class.
> cayenne:cdbimport
>   Description: Maven mojo to reverse engineer datamap from DB.
> cayenne:cgen
>   Description: Maven mojo to perform class generation from data map. This
>     class is an Maven adapter to DefaultClassGenerator class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2480) cayenne:cdbgen and cayenne:cgen have identical text in cayenne-maven-plugin

2018-09-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2480:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/327

CAY-2480 cayenne:cdbgen and cayenne:cgen have identical text in cayen…

…ne-maven-plugin

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2480

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/327.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #327


commit 5de06100a670e46c2cdb9662ed54dc6d4279d949
Author: Arseni Bulatski 
Date:   2018-09-27T10:34:12Z

CAY-2480 cayenne:cdbgen and cayenne:cgen have identical text in 
cayenne-maven-plugin




> cayenne:cdbgen and cayenne:cgen have identical text in cayenne-maven-plugin
> ---
>
> Key: CAY-2480
> URL: https://issues.apache.org/jira/browse/CAY-2480
> Project: Cayenne
>  Issue Type: Bug
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> The key part of the response is:
> This plugin has 3 goals:
> cayenne:cdbgen
>   Description: Maven mojo to perform class generation from data map. This
>     class is a Maven adapter to DefaultClassGenerator class.
> cayenne:cdbimport
>   Description: Maven mojo to reverse engineer datamap from DB.
> cayenne:cgen
>   Description: Maven mojo to perform class generation from data map. This
>     class is an Maven adapter to DefaultClassGenerator class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2480) cayenne:cdbgen and cayenne:cgen have identical text in cayenne-maven-plugin

2018-09-27 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2480:

Labels: pull-request-available  (was: )

> cayenne:cdbgen and cayenne:cgen have identical text in cayenne-maven-plugin
> ---
>
> Key: CAY-2480
> URL: https://issues.apache.org/jira/browse/CAY-2480
> Project: Cayenne
>  Issue Type: Bug
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> The key part of the response is:
> This plugin has 3 goals:
> cayenne:cdbgen
>   Description: Maven mojo to perform class generation from data map. This
>     class is a Maven adapter to DefaultClassGenerator class.
> cayenne:cdbimport
>   Description: Maven mojo to reverse engineer datamap from DB.
> cayenne:cgen
>   Description: Maven mojo to perform class generation from data map. This
>     class is an Maven adapter to DefaultClassGenerator class.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2419) Search: selecting search results within one entity

2018-09-25 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2419:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/326

CAY-2419 Not changing highlight on selecting search results within on…

…e entity

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2419

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/326.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #326


commit 5743f09cc6b24b819058d553f92fd7dc2c8a7577
Author: kkomyak 
Date:   2018-04-04T09:06:12Z

CAY-2419 Not changing highlight on selecting search results within one 
entity




> Search: selecting search results within one entity
> --
>
> Key: CAY-2419
> URL: https://issues.apache.org/jira/browse/CAY-2419
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.0.RC1, 4.1.M1
>Reporter: ana benko
>Assignee: Nikita Timofeev
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 4.1.M2
>
> Attachments: c1.png
>
>
> Precondition:
> I have obj(db)Entity with multiple attribute names, all of which have 
> 'painting' in their name (e.g paintingname, facepainting)
>  
>  # type 'painting' in search field
>  # Start clicking on search results within one entity
> -> only first result is selected and highlighted.  It stays selected when 
> user clicks on another search result within one entity



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2479) Modeler: update cgen dialog

2018-09-25 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2479:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/325

CAY-2479, CAY-2476

CAY-2479 Modeler: update cgen dialog
CAY-2476 Modeler: Fixed wrong behaviour of code generation dialog

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2479

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/325.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #325


commit f8d8e50ec48b7a70463b3593bbdcd77542af77c1
Author: Arseni Bulatski 
Date:   2018-09-25T12:08:54Z

CAY-2479 Modeler: update cgen dialog

commit 7bd2ca9002a9ce4747b1983f703eed88bb03f4dc
Author: kkomyak 
Date:   2018-09-19T09:21:39Z

CAY-2476 Modeler: Fixed wrong behaviour of code generation dialog




> Modeler: update cgen dialog
> ---
>
> Key: CAY-2479
> URL: https://issues.apache.org/jira/browse/CAY-2479
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Modeler
>Affects Versions: 4.0
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1
>
>
> New dialog view for class generation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2479) Modeler: update cgen dialog

2018-09-25 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2479:

Labels: pull-request-available  (was: )

> Modeler: update cgen dialog
> ---
>
> Key: CAY-2479
> URL: https://issues.apache.org/jira/browse/CAY-2479
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Modeler
>Affects Versions: 4.0
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1
>
>
> New dialog view for class generation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2475) Modeler: move inheritance icon to name column in objAttr table and objRel table

2018-09-25 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2475:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/324

CAY-2475 Modeler: move inheritance icon to name column in objAttr table and 
objRel table



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2475_4.0

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/324.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #324


commit 3285651e0c09f3ca60be8c771fc922c970150055
Author: Arseni Bulatski 
Date:   2018-09-17T12:34:31Z

CAY-2475 Modeler: move inheritance icon to name column in objAttr table and 
objRel table

commit 4be0bea1b26dfc0b08727eeb8e43fa54234eb8de
Author: Nikita Timofeev 
Date:   2018-09-19T07:29:59Z

Modeler: Adjust disabled selection foreground color




> Modeler: move inheritance icon to name column in objAttr table and objRel 
> table
> ---
>
> Key: CAY-2475
> URL: https://issues.apache.org/jira/browse/CAY-2475
> Project: Cayenne
>  Issue Type: Task
>  Components: Modeler
>Affects Versions: 4.1.M2
>Reporter: Arseni Bulatski
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> Move inheritance icon to name column in objAttr table and objRel table. 
> Remove inheritance column from table.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2474) Modeler: swap buttons in dialog toolbar

2018-09-25 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2474:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/323

CAY-2474 Modeler: swap buttons in dialog toolbar



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2474_4.0

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/323.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #323


commit debdd9df6a60ae387efd759820e3204c1937099c
Author: Arseni Bulatski 
Date:   2018-09-13T13:10:18Z

CAY-2474 Modeler: swap buttons in dialog toolbar

commit 3bfb4c6afb10da7a2dc8d31459f0f7dec6b4c58d
Author: Arseni Bulatski 
Date:   2018-09-13T14:42:22Z

Update text color of dbType column in objAttrTable




> Modeler: swap buttons in dialog toolbar
> ---
>
> Key: CAY-2474
> URL: https://issues.apache.org/jira/browse/CAY-2474
> Project: Cayenne
>  Issue Type: Task
>  Components: Modeler
>Affects Versions: 4.1.M2, 4.0
>Reporter: Arseni Bulatski
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> Swap buttons in dialogs. Positive button must be on the right, negative 
> button on the left.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2473) Modeler: cleanup attributes and relationship editors

2018-09-24 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2473:

Labels: pull-request-available  (was: )

> Modeler: cleanup attributes and relationship editors
> 
>
> Key: CAY-2473
> URL: https://issues.apache.org/jira/browse/CAY-2473
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Modeler
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.1, 4.1.M3
>
>
> Dialogs for editing ObjAttributes, ObjRelationship and DbRelationship are 
> inconsistent in naming, layout, titles, etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2476) Wrong behaviour of code generation dialog

2018-09-19 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2476:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/317


> Wrong behaviour of code generation dialog
> -
>
> Key: CAY-2476
> URL: https://issues.apache.org/jira/browse/CAY-2476
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M3
>Reporter: Konstantin
>Assignee: Nikita Timofeev
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> 1. When 'Make Pairs' checkbox is disabled, after reopen CodeGeneratorDialog 
> the 'Superclass Template' dropdown should be disabled.
> 2. On disable 'Make Pairs' the 'Subclass Template' dropdown should be 
> disabled to, and generator should use the singleclass.vm template for 
> generation by defauld.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2475) Modeler: move inheritance icon to name column in objAttr table and objRel table

2018-09-19 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2475:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/318


> Modeler: move inheritance icon to name column in objAttr table and objRel 
> table
> ---
>
> Key: CAY-2475
> URL: https://issues.apache.org/jira/browse/CAY-2475
> Project: Cayenne
>  Issue Type: Task
>  Components: Modeler
>Affects Versions: 4.1.M2
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
>
> Move inheritance icon to name column in objAttr table and objRel table. 
> Remove inheritance column from table.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2474) Modeler: swap buttons in dialog toolbar

2018-09-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2474:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/315


> Modeler: swap buttons in dialog toolbar
> ---
>
> Key: CAY-2474
> URL: https://issues.apache.org/jira/browse/CAY-2474
> Project: Cayenne
>  Issue Type: Task
>  Components: Modeler
>Affects Versions: 4.1.M2, 4.0
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
>
> Swap buttons in dialogs. Positive button must be on the right, negative 
> button on the left.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2475) Modeler: move inheritance icon to name column in objAttr table and objRel table

2018-09-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2475:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/318

CAY-2475 Modeler: move inheritance icon to name column in objAttr tab…

…le and objRel table

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2475

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/318.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #318


commit 3b90c6816356fbe3534b2c5bd6e976da21bd6847
Author: Arseni Bulatski 
Date:   2018-09-17T12:34:31Z

CAY-2475 Modeler: move inheritance icon to name column in objAttr table and 
objRel table




> Modeler: move inheritance icon to name column in objAttr table and objRel 
> table
> ---
>
> Key: CAY-2475
> URL: https://issues.apache.org/jira/browse/CAY-2475
> Project: Cayenne
>  Issue Type: Task
>  Components: Modeler
>Affects Versions: 4.1.M2
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
>
> Move inheritance icon to name column in objAttr table and objRel table. 
> Remove inheritance column from table.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2475) Modeler: move inheritance icon to name column in objAttr table and objRel table

2018-09-18 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2475:

Labels: pull-request-available  (was: )

> Modeler: move inheritance icon to name column in objAttr table and objRel 
> table
> ---
>
> Key: CAY-2475
> URL: https://issues.apache.org/jira/browse/CAY-2475
> Project: Cayenne
>  Issue Type: Task
>  Components: Modeler
>Affects Versions: 4.1.M2
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
>
> Move inheritance icon to name column in objAttr table and objRel table. 
> Remove inheritance column from table.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2476) Wrong bihaviour of code generation dialog

2018-09-17 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2476:
-

GitHub user const1993 opened a pull request:

https://github.com/apache/cayenne/pull/317

CAY-2476 Modeller: Fixed wrong bihaviour of code generation dialog

Added update state of Superclass and Subclass Templates dropdowns on dialog 
open. Added disabling Subclass Template dropdown and added using singleclass.vm 
template when 'Make Pairs' checkbox is nod checked.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/const1993/cayenne feature/CAY-2476

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/317.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #317


commit 6249a07bb6122f80a595ca8c90d8be604f34de0e
Author: kkomyak 
Date:   2018-09-17T14:10:16Z

CAY-2476 Modeller: Added update state of Superclass and Subclass Templates 
dropdowns on dialog open. Added disabling Subclass Template dropdown and added 
using singleclass.vm template when 'Make Pairs' checkbox is nod checked.




> Wrong bihaviour of code generation dialog
> -
>
> Key: CAY-2476
> URL: https://issues.apache.org/jira/browse/CAY-2476
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M3
>Reporter: Konstantin
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> 1. When 'Make Pairs' checkbox is disabled, after reopen CodeGeneratorDialog 
> the 'Superclass Template' dropdown should be disabled.
> 2. On disable 'Make Pairs' the 'Subclass Template' dropdown should be 
> disabled to, and generator should use the singleclass.vm template for 
> generation by defauld.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2476) Wrong bihaviour of code generation dialog

2018-09-17 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2476:

Labels: pull-request-available  (was: )

> Wrong bihaviour of code generation dialog
> -
>
> Key: CAY-2476
> URL: https://issues.apache.org/jira/browse/CAY-2476
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M3
>Reporter: Konstantin
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> 1. When 'Make Pairs' checkbox is disabled, after reopen CodeGeneratorDialog 
> the 'Superclass Template' dropdown should be disabled.
> 2. On disable 'Make Pairs' the 'Subclass Template' dropdown should be 
> disabled to, and generator should use the singleclass.vm template for 
> generation by defauld.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2474) Modeler: swap buttons in dialog toolbar

2018-09-13 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2474:

Labels: pull-request-available  (was: )

> Modeler: swap buttons in dialog toolbar
> ---
>
> Key: CAY-2474
> URL: https://issues.apache.org/jira/browse/CAY-2474
> Project: Cayenne
>  Issue Type: Task
>  Components: Modeler
>Affects Versions: 4.1.M2, 4.0
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
>
> Swap buttons in dialogs. Positive button must be on the right, negative 
> button on the left.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2474) Modeler: swap buttons in dialog toolbar

2018-09-13 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2474:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/315

CAY-2474 Modeler: swap buttons in dialog toolbar



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2474

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/315.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #315


commit d9f208fe8d533443413fea5708807553900c98f2
Author: Arseni Bulatski 
Date:   2018-09-13T13:10:18Z

CAY-2474 Modeler: swap buttons in dialog toolbar




> Modeler: swap buttons in dialog toolbar
> ---
>
> Key: CAY-2474
> URL: https://issues.apache.org/jira/browse/CAY-2474
> Project: Cayenne
>  Issue Type: Task
>  Components: Modeler
>Affects Versions: 4.1.M2, 4.0
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
>
> Swap buttons in dialogs. Positive button must be on the right, negative 
> button on the left.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2469) Allow validationQuery to be set in domain.xml

2018-08-29 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2469:
-

GitHub user mmpestorich opened a pull request:

https://github.com/apache/cayenne/pull/314

CAY-2469 Allow validationQuery to be set in domain.xml

I have not been able to figure out an easy way to setup a validationQuery 
using a standard cayenne project file. I would expect to be able to specify it 
along side the connection pool min and max connections.
```xml

http://cayenne.apache.org/schema/10/domain";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://cayenne.apache.org/schema/10/domain 
http://cayenne.apache.org/schema/10/domain.xsd";
project-version="10">
   
  
  
 
 
 
 
  
   

```
But validationQuery is neither defined in the domain.xsd or used when 
creating the data source connection pool. This pull request that does that.

Pretty sure this all makes sense thoughts?

Not sure if this is related in anyway to CAY-1462, which was filed quite 
awhile ago.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/swarmbox/cayenne cay-2469

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/314.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #314


commit df8f5669277ffd8f24bc5c85ae44fb85f8cc0440
Author: Mike M Pestorich 
Date:   2018-08-29T18:49:32Z

CAY-2469 Allow validationQuery to be set in domain.xml




> Allow validationQuery to be set in domain.xml
> -
>
> Key: CAY-2469
> URL: https://issues.apache.org/jira/browse/CAY-2469
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Reporter: Mike M Pestorich
>Priority: Minor
>  Labels: pull-request-available
>
> I have not been able to figure out an easy way to setup a validationQuery 
> using a standard cayenne project file. I would expect to be able to specify 
> it along side the connection pool min and max connections.
> {code:xml}
> 
> http://cayenne.apache.org/schema/10/domain";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://cayenne.apache.org/schema/10/domain 
> http://cayenne.apache.org/schema/10/domain.xsd";
> project-version="10">
> factory="o.a.c.c.s.XMLPoolingDataSourceFactory" schema-update-strategy="...">
>   
>   
>  
>  
>  
>  
>   
>
> 
> {code}
> But validationQuery is neither defined in the domain.xsd or used when 
> creating the data source connection pool. I submitted a pull request that 
> does that.
> Pretty sure this all makes sense thoughts?
> Not sure if this is related in anyway to CAY-1462, which was filed quite 
> awhile ago.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2469) Allow validationQuery to be set in domain.xml

2018-08-29 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2469:

Labels: pull-request-available  (was: )

> Allow validationQuery to be set in domain.xml
> -
>
> Key: CAY-2469
> URL: https://issues.apache.org/jira/browse/CAY-2469
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Reporter: Mike M Pestorich
>Priority: Minor
>  Labels: pull-request-available
>
> I have not been able to figure out an easy way to setup a validationQuery 
> using a standard cayenne project file. I would expect to be able to specify 
> it along side the connection pool min and max connections.
> {code:xml}
> 
> http://cayenne.apache.org/schema/10/domain";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://cayenne.apache.org/schema/10/domain 
> http://cayenne.apache.org/schema/10/domain.xsd";
> project-version="10">
> factory="o.a.c.c.s.XMLPoolingDataSourceFactory" schema-update-strategy="...">
>   
>   
>  
>  
>  
>  
>   
>
> 
> {code}
> But validationQuery is neither defined in the domain.xsd or used when 
> creating the data source connection pool. I submitted a pull request that 
> does that.
> Pretty sure this all makes sense thoughts?
> Not sure if this is related in anyway to CAY-1462, which was filed quite 
> awhile ago.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2455) The width of the pop-up window is very large

2018-08-28 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2455:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/309


> The width of the pop-up window is very large
> 
>
> Key: CAY-2455
> URL: https://issues.apache.org/jira/browse/CAY-2455
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04, OS X 
>Reporter: Yana
>Priority: Minor
>  Labels: pull-request-available
> Attachments: Video1.mp4
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT* 
> *Steps:*
> 1.Open db_entity
> 2.Press tab "Properties"
> 3.Enter in the field "Max Length" next data:
> {quote}Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do 
> eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim 
> veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea 
> commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit 
> esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat 
> cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est 
> laborum.
> {quote}
> 4.Click at the another field
> *Actual result:* there is a validation message in a new pop-up window. The 
> width of this window is very large.
> [^Video1.mp4]
> *Expected result:* there is a new pop-up window with a normal width.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2462) Clipboard holds old content after application was reloaded

2018-08-28 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2462:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/305


> Clipboard holds old content after application was reloaded
> --
>
> Key: CAY-2462
> URL: https://issues.apache.org/jira/browse/CAY-2462
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M3
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Clipboard holds old content after application was reloaded. In this case 
> paste function works incorrectly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2454) Modeler: Unable to read validation message if it's truncated

2018-08-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2454:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/311


> Modeler: Unable to read validation message if it's truncated
> 
>
> Key: CAY-2454
> URL: https://issues.apache.org/jira/browse/CAY-2454
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04 
>Reporter: Yana
>Priority: Trivial
>  Labels: pull-request-available
> Attachments: 1.png
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT.*
> *Steps:*
> 1.Open project in Cayenne Modeler 
> 2.Create new DataMaps
> 3.Press File=>Save
> *Actual result:* there is a new pop-up window with some validation problems. 
> When this window has small sizes, the *text isn't displayed fully*.
> !1.png!
> *Expected result:* the validation *text is displayed fully regardless of the 
> window's size*.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2450) Impossible to update Attribute title at the first attempt after syncing ObjEntity with DbEntity

2018-08-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2450:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/310


> Impossible to update Attribute title at the first attempt after syncing 
> ObjEntity with DbEntity
> ---
>
> Key: CAY-2450
> URL: https://issues.apache.org/jira/browse/CAY-2450
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04, OS X
>Reporter: Yana
>Priority: Major
>  Labels: pull-request-available
> Attachments: Video1.mp4
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT.*
> *Steps:*
> 1. Create a new db_Entity and ObjEntity
> 2. In ObjEntity enter the field Table/View with next data: "db_Entity"
> 3. In db_Entity add some DbEntity's Attributes and press "Sync..." button
> 4. Switch at the ObjEntity, select available attribute and press "Edit button"
> 5. In a popup window try to change the field "Attribute"
> 6. Press the button "Done"
> *Actual result:* the name of the attribute isn't changed. The button "Done" 
> is blocked.(P.S. it's changed only when you select the "type" in the pop-up 
> window!)
> [^Video1.mp4]
> *Expected result:* user has the possibility to edit in a popup window the 
> field "Attribute".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2451) ObjEntity: "Edit" button doesn't open editor for Relationship

2018-08-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2451:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/308


> ObjEntity: "Edit" button doesn't open editor for Relationship
> -
>
> Key: CAY-2451
> URL: https://issues.apache.org/jira/browse/CAY-2451
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04, OS X
>Reporter: Yana
>Priority: Major
>  Labels: pull-request-available
> Attachments: Video1.mp4
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT.* 
> *Steps:*
> 1. Create a new ObjEntity
> 2. Don't enter the Table/View field in the Entity tab
> 3. Create new attribute
> 4. Create new Relationship
> 5. Select a new Relationship and press "edit" button
> *Actual result:* a new popup window doesn't open with the possibility to edit 
> the data.
> *[^Video1.mp4]*
> *Expected result:* a new popup window is opened. User can edit all 
> information.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2449) Modeler: Needless scrollbar in Generate DB Schema result menu

2018-08-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2449:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/307


> Modeler: Needless scrollbar in Generate DB Schema result menu
> -
>
> Key: CAY-2449
> URL: https://issues.apache.org/jira/browse/CAY-2449
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04
>Reporter: Yana
>Priority: Minor
>  Labels: pull-request-available
> Attachments: 1.png
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT*
> *Steps:*
> 1. Open Tools=>Generate Database Schema
> 2. In a new popup window press "generate" then "continue"
> *Actual result:* you will see a scrollbar over the "Details" section. Near 
> the text: "Schema generation finished. The following problem(s) were ignored"
> !1.png!
> *Expected result:* there isn't a scrollbar over the "Details" section.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2463) DB Schema generation doesn't work

2018-08-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2463:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/306


> DB Schema generation doesn't work
> -
>
> Key: CAY-2463
> URL: https://issues.apache.org/jira/browse/CAY-2463
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M3
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Exception in thread "AWT-EventQueue-0" 
> org.apache.cayenne.swing.BindingException: [v.4.1.M3-SNAPSHOT Aug 21 2018 
> 14:45:23] Evaluation failed in context: 
> org.apache.cayenne.modeler.dialog.db.gen.DBGeneratorOptions@484f9418
>  at 
> org.apache.cayenne.swing.BindingBase.processException(BindingBase.java:186)
>  at org.apache.cayenne.swing.BindingBase.getValue(BindingBase.java:171)
>  at org.apache.cayenne.swing.ActionBinding.fireAction(ActionBinding.java:80)
>  at 
> org.apache.cayenne.swing.ActionBinding$1.actionPerformed(ActionBinding.java:42)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>  at 
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
>  at java.awt.Component.processMouseEvent(Component.java:6533)
>  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>  at java.awt.Component.processEvent(Component.java:6298)
>  at java.awt.Container.processEvent(Container.java:2236)
>  at java.awt.Component.dispatchEventImpl(Component.java:4889)
>  at java.awt.Container.dispatchEventImpl(Container.java:2294)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>  at java.awt.Container.dispatchEventImpl(Container.java:2280)
>  at java.awt.Window.dispatchEventImpl(Window.java:2746)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>  at java.awt.EventQueue.access$500(EventQueue.java:97)
>  at java.awt.EventQueue$3.run(EventQueue.java:709)
>  at java.awt.EventQueue$3.run(EventQueue.java:703)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
>  at java.awt.EventQueue$4.run(EventQueue.java:731)
>  at java.awt.EventQueue$4.run(EventQueue.java:729)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>  at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>  at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>  at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>  at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
>  at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
>  at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
>  at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
>  at java.awt.Dialog.show(Dialog.java:1084)
>  at java.awt.Component.show(Component.java:1671)
>  at java.awt.Component.setVisible(Component.java:1623)
>  at java.awt.Window.setVisible(Window.java:1014)
>  at java.awt.Dialog.setVisible(Dialog.java:1005)
>  at 
> org.apache.cayenne.modeler.dialog.db.gen.DBGeneratorOptions.startupAction(DBGeneratorOptions.java:226)
>  at 
> org.apache.cayenne.modeler.action.GenerateDBAction.performAction(GenerateDBAction.java:59)
>  at 
> org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:171)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
> 

[jira] [Commented] (CAY-2459) Modeler: DataMap paste function is not working

2018-08-27 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2459:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/304


> Modeler: DataMap paste function is not working
> --
>
> Key: CAY-2459
> URL: https://issues.apache.org/jira/browse/CAY-2459
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: OS X 
>Reporter: Yana
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
>
> *Cayenne version: 4.1.M2-SNAPSHOT *
> Paste function still isn't working for DataMap: 
> 1. Modeler Menu => click Project=> click "Create DataMap" 
> 2. Modeler Menu=> click Edit => click "Copy DataMap"=> click "Peste" 
> *Actual result:* the paste function is disabled. 
> *Expected result: *user has the opportunity to paste DataMap.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2454) Impossible to read the whole text about problems in the validation window, when the size of this window is small

2018-08-22 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2454:

Labels: pull-request-available  (was: )

> Impossible to read the whole text about problems in the validation window, 
> when the size of this window is small
> 
>
> Key: CAY-2454
> URL: https://issues.apache.org/jira/browse/CAY-2454
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04 
>Reporter: Yana
>Priority: Trivial
>  Labels: pull-request-available
> Attachments: 1.png
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT.*
> *Steps:*
> 1.Open project in Cayenne Modeler 
> 2.Create new DataMaps
> 3.Press File=>Save
> *Actual result:* there is a new pop-up window with some validation problems. 
> When this window has small sizes, the *text isn't displayed fully*.
> !1.png!
> *Expected result:* the validation *text is displayed fully regardless of the 
> window's size*.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2454) Impossible to read the whole text about problems in the validation window, when the size of this window is small

2018-08-22 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2454:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/311

CAY-2454. Impossible to read the whole text about problems in the val…

…idation window, when the size of this window is small

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2454

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/311.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #311


commit 7c29c3d0b294e879448683cb6828ced4f4e82e12
Author: Arseni Bulatski 
Date:   2018-08-22T13:38:17Z

CAY-2454. Impossible to read the whole text about problems in the 
validation window, when the size of this window is small




> Impossible to read the whole text about problems in the validation window, 
> when the size of this window is small
> 
>
> Key: CAY-2454
> URL: https://issues.apache.org/jira/browse/CAY-2454
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04 
>Reporter: Yana
>Priority: Trivial
>  Labels: pull-request-available
> Attachments: 1.png
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT.*
> *Steps:*
> 1.Open project in Cayenne Modeler 
> 2.Create new DataMaps
> 3.Press File=>Save
> *Actual result:* there is a new pop-up window with some validation problems. 
> When this window has small sizes, the *text isn't displayed fully*.
> !1.png!
> *Expected result:* the validation *text is displayed fully regardless of the 
> window's size*.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2450) Impossible to update Attribute title at the first attempt after syncing ObjEntity with DbEntity

2018-08-22 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2450:

Labels: pull-request-available  (was: )

> Impossible to update Attribute title at the first attempt after syncing 
> ObjEntity with DbEntity
> ---
>
> Key: CAY-2450
> URL: https://issues.apache.org/jira/browse/CAY-2450
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04, OS X
>Reporter: Yana
>Priority: Major
>  Labels: pull-request-available
> Attachments: Video1.mp4
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT.*
> *Steps:*
> 1. Create a new db_Entity and ObjEntity
> 2. In ObjEntity enter the field Table/View with next data: "db_Entity"
> 3. In db_Entity add some DbEntity's Attributes and press "Sync..." button
> 4. Switch at the ObjEntity, select available attribute and press "Edit button"
> 5. In a popup window try to change the field "Attribute"
> 6. Press the button "Done"
> *Actual result:* the name of the attribute isn't changed. The button "Done" 
> is blocked.(P.S. it's changed only when you select the "type" in the pop-up 
> window!)
> [^Video1.mp4]
> *Expected result:* user has the possibility to edit in a popup window the 
> field "Attribute".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2450) Impossible to update Attribute title at the first attempt after syncing ObjEntity with DbEntity

2018-08-22 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2450:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/310

CAY-2450 Impossible to update Attribute title at the first attempt af…

…ter syncing ObjEntity with DbEntity

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2450

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/310.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #310


commit 5541c3eddedd8066783e3eaa3c4ea9c9402f3629
Author: Arseni Bulatski 
Date:   2018-08-22T11:54:41Z

CAY-2450 Impossible to update Attribute title at the first attempt after 
syncing ObjEntity with DbEntity




> Impossible to update Attribute title at the first attempt after syncing 
> ObjEntity with DbEntity
> ---
>
> Key: CAY-2450
> URL: https://issues.apache.org/jira/browse/CAY-2450
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04, OS X
>Reporter: Yana
>Priority: Major
>  Labels: pull-request-available
> Attachments: Video1.mp4
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT.*
> *Steps:*
> 1. Create a new db_Entity and ObjEntity
> 2. In ObjEntity enter the field Table/View with next data: "db_Entity"
> 3. In db_Entity add some DbEntity's Attributes and press "Sync..." button
> 4. Switch at the ObjEntity, select available attribute and press "Edit button"
> 5. In a popup window try to change the field "Attribute"
> 6. Press the button "Done"
> *Actual result:* the name of the attribute isn't changed. The button "Done" 
> is blocked.(P.S. it's changed only when you select the "type" in the pop-up 
> window!)
> [^Video1.mp4]
> *Expected result:* user has the possibility to edit in a popup window the 
> field "Attribute".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2455) The width of the pop-up window is very large

2018-08-22 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2455:

Labels: pull-request-available  (was: )

> The width of the pop-up window is very large
> 
>
> Key: CAY-2455
> URL: https://issues.apache.org/jira/browse/CAY-2455
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04, OS X 
>Reporter: Yana
>Priority: Minor
>  Labels: pull-request-available
> Attachments: Video1.mp4
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT* 
> *Steps:*
> 1.Open db_entity
> 2.Press tab "Properties"
> 3.Enter in the field "Max Length" next data:
> {quote}Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do 
> eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim 
> veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea 
> commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit 
> esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat 
> cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est 
> laborum.
> {quote}
> 4.Click at the another field
> *Actual result:* there is a validation message in a new pop-up window. The 
> width of this window is very large.
> [^Video1.mp4]
> *Expected result:* there is a new pop-up window with a normal width.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2455) The width of the pop-up window is very large

2018-08-22 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2455:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/309

CAY-2455. The width of the pop-up window is very large



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2455

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/309.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #309


commit a9414f25c026a6bb0f635b17a202fb97848a1f20
Author: Arseni Bulatski 
Date:   2018-08-22T10:58:39Z

CAY-2455. The width of the pop-up window is very large




> The width of the pop-up window is very large
> 
>
> Key: CAY-2455
> URL: https://issues.apache.org/jira/browse/CAY-2455
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04, OS X 
>Reporter: Yana
>Priority: Minor
>  Labels: pull-request-available
> Attachments: Video1.mp4
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT* 
> *Steps:*
> 1.Open db_entity
> 2.Press tab "Properties"
> 3.Enter in the field "Max Length" next data:
> {quote}Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do 
> eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim 
> veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea 
> commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit 
> esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat 
> cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est 
> laborum.
> {quote}
> 4.Click at the another field
> *Actual result:* there is a validation message in a new pop-up window. The 
> width of this window is very large.
> [^Video1.mp4]
> *Expected result:* there is a new pop-up window with a normal width.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2451) ObjEntity: "Edit" button doesn't open editor for Relationship

2018-08-22 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2451:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/308

CAY-2451 ObjEntity: Edit button doesn't open editor for Relationship



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2451

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/308.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #308


commit 59ef22bf3f7e362b62009d426f5dc54528b42f12
Author: Arseni Bulatski 
Date:   2018-08-22T09:42:30Z

CAY-2451 ObjEntity: Edit button doesn't open editor for Relationship




> ObjEntity: "Edit" button doesn't open editor for Relationship
> -
>
> Key: CAY-2451
> URL: https://issues.apache.org/jira/browse/CAY-2451
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04, OS X
>Reporter: Yana
>Priority: Major
>  Labels: pull-request-available
> Attachments: Video1.mp4
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT.* 
> *Steps:*
> 1. Create a new ObjEntity
> 2. Don't enter the Table/View field in the Entity tab
> 3. Create new attribute
> 4. Create new Relationship
> 5. Select a new Relationship and press "edit" button
> *Actual result:* a new popup window doesn't open with the possibility to edit 
> the data.
> *[^Video1.mp4]*
> *Expected result:* a new popup window is opened. User can edit all 
> information.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2451) ObjEntity: "Edit" button doesn't open editor for Relationship

2018-08-22 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2451:

Labels: pull-request-available  (was: )

> ObjEntity: "Edit" button doesn't open editor for Relationship
> -
>
> Key: CAY-2451
> URL: https://issues.apache.org/jira/browse/CAY-2451
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04, OS X
>Reporter: Yana
>Priority: Major
>  Labels: pull-request-available
> Attachments: Video1.mp4
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT.* 
> *Steps:*
> 1. Create a new ObjEntity
> 2. Don't enter the Table/View field in the Entity tab
> 3. Create new attribute
> 4. Create new Relationship
> 5. Select a new Relationship and press "edit" button
> *Actual result:* a new popup window doesn't open with the possibility to edit 
> the data.
> *[^Video1.mp4]*
> *Expected result:* a new popup window is opened. User can edit all 
> information.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2449) Needless scrollbar in the Modeler Menu: Tools: Generate Database Schema

2018-08-22 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2449:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/307

CAY-2449 Needless scrollbar in the Modeler Menu: Tools: Generate Data…

…base Schema

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2449

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/307.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #307


commit da6d9611f6d5a9543893e2b86f81f6a906ba9841
Author: Arseni Bulatski 
Date:   2018-08-22T09:28:22Z

CAY-2449 Needless scrollbar in the Modeler Menu: Tools: Generate Database 
Schema




> Needless scrollbar in the Modeler Menu: Tools: Generate Database Schema
> ---
>
> Key: CAY-2449
> URL: https://issues.apache.org/jira/browse/CAY-2449
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04
>Reporter: Yana
>Priority: Minor
>  Labels: pull-request-available
> Attachments: 1.png
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT*
> *Steps:*
> 1. Open Tools=>Generate Database Schema
> 2. In a new popup window press "generate" then "continue"
> *Actual result:* you will see a scrollbar over the "Details" section. Near 
> the text: "Schema generation finished. The following problem(s) were ignored"
> !1.png!
> *Expected result:* there isn't a scrollbar over the "Details" section.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2449) Needless scrollbar in the Modeler Menu: Tools: Generate Database Schema

2018-08-22 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2449:

Labels: pull-request-available  (was: )

> Needless scrollbar in the Modeler Menu: Tools: Generate Database Schema
> ---
>
> Key: CAY-2449
> URL: https://issues.apache.org/jira/browse/CAY-2449
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: Linux Ubuntu 14.04
>Reporter: Yana
>Priority: Minor
>  Labels: pull-request-available
> Attachments: 1.png
>
>
> *Cayenne version: 4.1.M2-SNAPSHOT*
> *Steps:*
> 1. Open Tools=>Generate Database Schema
> 2. In a new popup window press "generate" then "continue"
> *Actual result:* you will see a scrollbar over the "Details" section. Near 
> the text: "Schema generation finished. The following problem(s) were ignored"
> !1.png!
> *Expected result:* there isn't a scrollbar over the "Details" section.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2463) DB Schema generation doesn't work

2018-08-22 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2463:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/306

CAY-2463 DB Schema generation doesn't work



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2463

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/306.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #306


commit 2f8dcfab2334a7f3a607658439af8be52a1d8ce8
Author: Arseni Bulatski 
Date:   2018-08-22T09:14:35Z

CAY-2463




> DB Schema generation doesn't work
> -
>
> Key: CAY-2463
> URL: https://issues.apache.org/jira/browse/CAY-2463
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M3
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Exception in thread "AWT-EventQueue-0" 
> org.apache.cayenne.swing.BindingException: [v.4.1.M3-SNAPSHOT Aug 21 2018 
> 14:45:23] Evaluation failed in context: 
> org.apache.cayenne.modeler.dialog.db.gen.DBGeneratorOptions@484f9418
>  at 
> org.apache.cayenne.swing.BindingBase.processException(BindingBase.java:186)
>  at org.apache.cayenne.swing.BindingBase.getValue(BindingBase.java:171)
>  at org.apache.cayenne.swing.ActionBinding.fireAction(ActionBinding.java:80)
>  at 
> org.apache.cayenne.swing.ActionBinding$1.actionPerformed(ActionBinding.java:42)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>  at 
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
>  at java.awt.Component.processMouseEvent(Component.java:6533)
>  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>  at java.awt.Component.processEvent(Component.java:6298)
>  at java.awt.Container.processEvent(Container.java:2236)
>  at java.awt.Component.dispatchEventImpl(Component.java:4889)
>  at java.awt.Container.dispatchEventImpl(Container.java:2294)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>  at java.awt.Container.dispatchEventImpl(Container.java:2280)
>  at java.awt.Window.dispatchEventImpl(Window.java:2746)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>  at java.awt.EventQueue.access$500(EventQueue.java:97)
>  at java.awt.EventQueue$3.run(EventQueue.java:709)
>  at java.awt.EventQueue$3.run(EventQueue.java:703)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
>  at java.awt.EventQueue$4.run(EventQueue.java:731)
>  at java.awt.EventQueue$4.run(EventQueue.java:729)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>  at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>  at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>  at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>  at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
>  at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
>  at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
>  at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
>  at java.awt.Dialog.show(Dialog.java:1084)
>  at java.awt.Component.show(Component.java:1671)
>  at java.awt.Component.setVisible(Component.java:1623)
>  at java.awt.Window.setVisible(Window.java:1014)
>  at java.awt.Dialog.setVisible(Dialog.java:1005)
>  at 
> org.apache.cayenne.modeler.dialog.db.gen.DBGene

[jira] [Updated] (CAY-2463) DB Schema generation doesn't work

2018-08-22 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2463:

Labels: pull-request-available  (was: )

> DB Schema generation doesn't work
> -
>
> Key: CAY-2463
> URL: https://issues.apache.org/jira/browse/CAY-2463
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M3
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> Exception in thread "AWT-EventQueue-0" 
> org.apache.cayenne.swing.BindingException: [v.4.1.M3-SNAPSHOT Aug 21 2018 
> 14:45:23] Evaluation failed in context: 
> org.apache.cayenne.modeler.dialog.db.gen.DBGeneratorOptions@484f9418
>  at 
> org.apache.cayenne.swing.BindingBase.processException(BindingBase.java:186)
>  at org.apache.cayenne.swing.BindingBase.getValue(BindingBase.java:171)
>  at org.apache.cayenne.swing.ActionBinding.fireAction(ActionBinding.java:80)
>  at 
> org.apache.cayenne.swing.ActionBinding$1.actionPerformed(ActionBinding.java:42)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>  at 
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
>  at java.awt.Component.processMouseEvent(Component.java:6533)
>  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>  at java.awt.Component.processEvent(Component.java:6298)
>  at java.awt.Container.processEvent(Container.java:2236)
>  at java.awt.Component.dispatchEventImpl(Component.java:4889)
>  at java.awt.Container.dispatchEventImpl(Container.java:2294)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>  at java.awt.Container.dispatchEventImpl(Container.java:2280)
>  at java.awt.Window.dispatchEventImpl(Window.java:2746)
>  at java.awt.Component.dispatchEvent(Component.java:4711)
>  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>  at java.awt.EventQueue.access$500(EventQueue.java:97)
>  at java.awt.EventQueue$3.run(EventQueue.java:709)
>  at java.awt.EventQueue$3.run(EventQueue.java:703)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
>  at java.awt.EventQueue$4.run(EventQueue.java:731)
>  at java.awt.EventQueue$4.run(EventQueue.java:729)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>  at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>  at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>  at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>  at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
>  at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
>  at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
>  at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
>  at java.awt.Dialog.show(Dialog.java:1084)
>  at java.awt.Component.show(Component.java:1671)
>  at java.awt.Component.setVisible(Component.java:1623)
>  at java.awt.Window.setVisible(Window.java:1014)
>  at java.awt.Dialog.setVisible(Dialog.java:1005)
>  at 
> org.apache.cayenne.modeler.dialog.db.gen.DBGeneratorOptions.startupAction(DBGeneratorOptions.java:226)
>  at 
> org.apache.cayenne.modeler.action.GenerateDBAction.performAction(GenerateDBAction.java:59)
>  at 
> org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:171)
>  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>  at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>  at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>  at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>  at javax.swing.plaf.basic.BasicMenuItemUI.d

[jira] [Commented] (CAY-2462) Clipboard holds old content after application was reloaded

2018-08-22 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2462:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/305

CAY-2462 Clipboard holds old content after application was reloaded



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2462

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/305.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #305


commit 0e8d3355b081a6d5c4430f4cd9052a8f08f27f0f
Author: Arseni Bulatski 
Date:   2018-08-22T08:25:27Z

CAY-2462 Clipboard holds old content after application was reloaded




> Clipboard holds old content after application was reloaded
> --
>
> Key: CAY-2462
> URL: https://issues.apache.org/jira/browse/CAY-2462
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M2
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M2
>
>
> Clipboard holds old content after application was reloaded. In this case 
> paste function works incorrectly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2462) Clipboard holds old content after application was reloaded

2018-08-22 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2462:

Labels: pull-request-available  (was: )

> Clipboard holds old content after application was reloaded
> --
>
> Key: CAY-2462
> URL: https://issues.apache.org/jira/browse/CAY-2462
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M2
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M2
>
>
> Clipboard holds old content after application was reloaded. In this case 
> paste function works incorrectly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2459) Paste function is not working

2018-08-22 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2459:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/304

CAY-2459 Paste function is not working



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2459

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/304.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #304


commit 59383906bd334ca4cc7760e467ac64b264e0f45a
Author: Arseni Bulatski 
Date:   2018-08-22T08:14:38Z

CAY-2459 Paste function is not working




> Paste function is not working
> -
>
> Key: CAY-2459
> URL: https://issues.apache.org/jira/browse/CAY-2459
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: OS X 
>Reporter: Yana
>Priority: Major
>  Labels: pull-request-available
>
> *Cayenne version: 4.1.M2-SNAPSHOT *
> Paste function still isn't working for DataMap: 
> 1. Modeler Menu => click Project=> click "Create DataMap" 
> 2. Modeler Menu=> click Edit => click "Copy DataMap"=> click "Peste" 
> *Actual result:* the paste function is disabled. 
> *Expected result: *user has the opportunity to paste DataMap.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2459) Paste function is not working

2018-08-22 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2459:

Labels: pull-request-available  (was: )

> Paste function is not working
> -
>
> Key: CAY-2459
> URL: https://issues.apache.org/jira/browse/CAY-2459
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
> Environment: OS X 
>Reporter: Yana
>Priority: Major
>  Labels: pull-request-available
>
> *Cayenne version: 4.1.M2-SNAPSHOT *
> Paste function still isn't working for DataMap: 
> 1. Modeler Menu => click Project=> click "Create DataMap" 
> 2. Modeler Menu=> click Edit => click "Copy DataMap"=> click "Peste" 
> *Actual result:* the paste function is disabled. 
> *Expected result: *user has the opportunity to paste DataMap.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2447) crypto support for LocalDateTime

2018-08-08 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2447:
-

Github user const1993 closed the pull request at:

https://github.com/apache/cayenne/pull/301


> crypto support for LocalDateTime
> 
>
> Key: CAY-2447
> URL: https://issues.apache.org/jira/browse/CAY-2447
> Project: Cayenne
>  Issue Type: Improvement
>Affects Versions: 4.0.B2
>Reporter: Vital Zanko
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> java.time.LocalDateTime is not being encrypted. 
> org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.objectToBytes
>  does not contain java.time.LocalDateTime:
> {code:java}
> java.lang.IllegalArgumentException: The type java.time.LocalDateTime for 
> attribute DbAttr: VARBINARY CRYPTO_birth_date[512] has no object-to-bytes 
> conversion
> at 
> org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.createEncryptor(DefaultValueTransformerFactory.java:118)
> at 
> org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.encryptor(DefaultValueTransformerFactory.java:103)
> at 
> org.apache.cayenne.crypto.transformer.value.LazyValueTransformerFactory.encryptor(LazyValueTransformerFactory.java:43)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAY-2447) crypto support for LocalDateTime

2018-08-08 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAY-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CAY-2447:

Labels: pull-request-available  (was: )

> crypto support for LocalDateTime
> 
>
> Key: CAY-2447
> URL: https://issues.apache.org/jira/browse/CAY-2447
> Project: Cayenne
>  Issue Type: Improvement
>Affects Versions: 4.0.B2
>Reporter: Vital Zanko
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> java.time.LocalDateTime is not being encrypted. 
> org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.objectToBytes
>  does not contain java.time.LocalDateTime:
> {code:java}
> java.lang.IllegalArgumentException: The type java.time.LocalDateTime for 
> attribute DbAttr: VARBINARY CRYPTO_birth_date[512] has no object-to-bytes 
> conversion
> at 
> org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.createEncryptor(DefaultValueTransformerFactory.java:118)
> at 
> org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.encryptor(DefaultValueTransformerFactory.java:103)
> at 
> org.apache.cayenne.crypto.transformer.value.LazyValueTransformerFactory.encryptor(LazyValueTransformerFactory.java:43)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2447) crypto support for LocalDateTime

2018-08-08 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2447:
-

GitHub user const1993 opened a pull request:

https://github.com/apache/cayenne/pull/301

CAY-2447 Added crypto support for java.time



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/const1993/cayenne feature/CAY-2447

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/301.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #301


commit 097276917ca17d8d114a7a47d0655e7f8e504ac1
Author: kkomyak 
Date:   2018-08-07T14:30:46Z

CAY-2447 Added crypto support for java.time




> crypto support for LocalDateTime
> 
>
> Key: CAY-2447
> URL: https://issues.apache.org/jira/browse/CAY-2447
> Project: Cayenne
>  Issue Type: Improvement
>Affects Versions: 4.0.B2
>Reporter: Vital Zanko
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M3
>
>
> java.time.LocalDateTime is not being encrypted. 
> org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.objectToBytes
>  does not contain java.time.LocalDateTime:
> {code:java}
> java.lang.IllegalArgumentException: The type java.time.LocalDateTime for 
> attribute DbAttr: VARBINARY CRYPTO_birth_date[512] has no object-to-bytes 
> conversion
> at 
> org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.createEncryptor(DefaultValueTransformerFactory.java:118)
> at 
> org.apache.cayenne.crypto.transformer.value.DefaultValueTransformerFactory.encryptor(DefaultValueTransformerFactory.java:103)
> at 
> org.apache.cayenne.crypto.transformer.value.LazyValueTransformerFactory.encryptor(LazyValueTransformerFactory.java:43)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2443) Make SqlTemplate and SqlExec possible to return generated keys.

2018-07-11 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2443:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/297


> Make SqlTemplate and SqlExec possible to return generated keys.
> ---
>
> Key: CAY-2443
> URL: https://issues.apache.org/jira/browse/CAY-2443
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Affects Versions: 4.1.M2
>Reporter: Arseni Bulatski
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M2
>
>
> Make SqlTemplate and SqlExec possible to return generated keys.
> https://lists.apache.org/list.html?u...@cayenne.apache.org 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2438) Split DataChannel filter into two independent filters

2018-07-10 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2438:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/294


> Split DataChannel filter into two independent filters
> -
>
> Key: CAY-2438
> URL: https://issues.apache.org/jira/browse/CAY-2438
> Project: Cayenne
>  Issue Type: Improvement
>  Components: Core Library
>Reporter: Nikita Timofeev
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.2.M1
>
>
> Split {{DataChannelFilter}} filter into two independent filters - 
> {{DataChannelQueryFilter}} and {{DataChannelSyncFilter}}
> This will likely introduce minor incompatibility: contribution of custom 
> filters that are linked with {{TransactionFIlter}} will likely need change. 
> Independent filters should be fully functional (except for deprecation 
> warning).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2418) Modeler: unable to edit entity selected via Search

2018-07-10 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2418:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/299


> Modeler: unable to edit entity selected via Search
> --
>
> Key: CAY-2418
> URL: https://issues.apache.org/jira/browse/CAY-2418
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.1.M1, 4.0.RC1
>Reporter: ana benko
>Assignee: Nikita Timofeev
>Priority: Minor
>  Labels: pull-request-available
> Fix For: 4.1.M2
>
>
> # Open Modeler -> New Project
>  # Reengineer db schema
>  # Perform search
>  # In Search Results select dbEntity relationship; or objEntity attribute or 
> relationship. Click OK
>  # Click Edit button (edit attribute, edit relationship, etc - depending on 
> selection)
> -> nothing happens. Edit window is not opened
> note: switch between entities, and open Edit entity window -> OK
> Issue does not seem to appear once Edit window was successfully opened



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2430) Redo throws NPE

2018-07-10 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2430:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/300


> Redo throws NPE
> ---
>
> Key: CAY-2430
> URL: https://issues.apache.org/jira/browse/CAY-2430
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.0.RC1, 4.1.M2
>Reporter: ana benko
>Priority: Major
>  Labels: pull-request-available
>
> Redo throws NPE
> Exception occurs in different cases, below is the simplest way to reproduce
>  # Add stored procedure
>  # Remove stored procedure
>  # Select Undo
>  # Select Redo
> -> Cayenne Modeler error appears
>  
> Log:
>  Apr 14, 2018 7:47:52 AM ERROR: CayenneModeler Error
>  java.lang.NullPointerException
>      at 
> org.apache.cayenne.modeler.action.RemoveAction.removeDataMapFromDataNode(RemoveAction.java:463)
>      at 
> org.apache.cayenne.modeler.undo.RemoveUndoableEdit.redo(RemoveUndoableEdit.java:215)
>      at javax.swing.undo.UndoManager.redoTo(UndoManager.java:351)
>      at javax.swing.undo.UndoManager.redo(UndoManager.java:458)
>      at 
> org.apache.cayenne.modeler.undo.CayenneUndoManager.redo(CayenneUndoManager.java:65)
>      at 
> org.apache.cayenne.modeler.action.RedoAction.performAction(RedoAction.java:65)
>      at 
> org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:171)
>      at 
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>      at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>      at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>      at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>      at 
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
>      at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
>      at 
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
>      at java.awt.Component.processMouseEvent(Component.java:6533)
>      at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>      at java.awt.Component.processEvent(Component.java:6298)
>      at java.awt.Container.processEvent(Container.java:2236)
>      at java.awt.Component.dispatchEventImpl(Component.java:4889)
>      at java.awt.Container.dispatchEventImpl(Container.java:2294)
>      at java.awt.Component.dispatchEvent(Component.java:4711)
>      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>      at java.awt.Container.dispatchEventImpl(Container.java:2280)
>      at java.awt.Window.dispatchEventImpl(Window.java:2746)
>      at java.awt.Component.dispatchEvent(Component.java:4711)
>      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>      at java.awt.EventQueue.access$500(EventQueue.java:97)
>      at java.awt.EventQueue$3.run(EventQueue.java:709)
>      at java.awt.EventQueue$3.run(EventQueue.java:703)
>      at java.security.AccessController.doPrivileged(Native Method)
>      at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>      at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
>      at java.awt.EventQueue$4.run(EventQueue.java:731)
>      at java.awt.EventQueue$4.run(EventQueue.java:729)
>      at java.security.AccessController.doPrivileged(Native Method)
>      at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>      at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>      at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>      at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>      at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>      at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAY-2427) Undo: undo throws exeption

2018-07-10 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2427:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cayenne/pull/298


> Undo: undo throws exeption
> --
>
> Key: CAY-2427
> URL: https://issues.apache.org/jira/browse/CAY-2427
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.0.RC1, 4.1.M2
>Reporter: ana benko
>Assignee: Nikita Timofeev
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.1.M2
>
>
> Undo throws errors from time to time, below is one of the ways to reproduce:
>  
>  # Create DbEntity
>  # Create attributes (don't set max length)
>  # Create ObjEntity from DbEntity. Save
> -> max length missing warning appears
>  # Open DbEntity, set max length
>  # Click Sysn DbEntity with ObjEntity
>  # Open ObjEntity. Save
>  # Click Edit -> Undo
> -> Cayenne Modeler Error appears
> CayenneModeler Info
> Version: 4.0.B3-SNAPSHOT
> Build Date: апр 02 2018 17:59:09
> Exception: 
> =
> javax.swing.undo.CannotUndoException
>     at 
> javax.swing.undo.AbstractUndoableEdit.undo(AbstractUndoableEdit.java:110)
>     at javax.swing.undo.CompoundEdit.undo(CompoundEdit.java:59)
>     at javax.swing.undo.CompoundEdit.undo(CompoundEdit.java:63)
>     at javax.swing.undo.UndoManager.undoTo(UndoManager.java:335)
>     at javax.swing.undo.UndoManager.undo(UndoManager.java:413)
>     at 
> org.apache.cayenne.modeler.undo.CayenneUndoManager.undo(CayenneUndoManager.java:84)
>     at 
> org.apache.cayenne.modeler.action.UndoAction.performAction(UndoAction.java:57)
>     at 
> org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:171)
>     at 
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>     at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>     at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>     at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>     at 
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
>     at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
>     at 
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
>     at java.awt.Component.processMouseEvent(Component.java:6533)
>     at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>     at java.awt.Component.processEvent(Component.java:6298)
>     at java.awt.Container.processEvent(Container.java:2236)
>     at java.awt.Component.dispatchEventImpl(Component.java:4889)
>     at java.awt.Container.dispatchEventImpl(Container.java:2294)
>     at java.awt.Component.dispatchEvent(Component.java:4711)
>     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>     at java.awt.Container.dispatchEventImpl(Container.java:2280)
>     at java.awt.Window.dispatchEventImpl(Window.java:2746)
>     at java.awt.Component.dispatchEvent(Component.java:4711)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>     at java.awt.EventQueue.access$500(EventQueue.java:97)
>     at java.awt.EventQueue$3.run(EventQueue.java:709)
>     at java.awt.EventQueue$3.run(EventQueue.java:703)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
>     at java.awt.EventQueue$4.run(EventQueue.java:731)
>     at java.awt.EventQueue$4.run(EventQueue.java:729)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>     at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>     at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>     at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


[jira] [Commented] (CAY-2430) Redo throws NPE

2018-07-10 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on CAY-2430:
-

GitHub user aarrsseni opened a pull request:

https://github.com/apache/cayenne/pull/300

CAY-2430. Redo throws NPE



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/aarrsseni/cayenne CAY-2430

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cayenne/pull/300.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #300


commit d5f14a8d16aefd6703531c95e4808cc53fb92d2d
Author: Arseni Bulatski 
Date:   2018-07-10T07:50:48Z

CAY-2430. Redo throws NPE




> Redo throws NPE
> ---
>
> Key: CAY-2430
> URL: https://issues.apache.org/jira/browse/CAY-2430
> Project: Cayenne
>  Issue Type: Bug
>  Components: Modeler
>Affects Versions: 4.0.RC1, 4.1.M2
>Reporter: ana benko
>Priority: Major
>  Labels: pull-request-available
>
> Redo throws NPE
> Exception occurs in different cases, below is the simplest way to reproduce
>  # Add stored procedure
>  # Remove stored procedure
>  # Select Undo
>  # Select Redo
> -> Cayenne Modeler error appears
>  
> Log:
>  Apr 14, 2018 7:47:52 AM ERROR: CayenneModeler Error
>  java.lang.NullPointerException
>      at 
> org.apache.cayenne.modeler.action.RemoveAction.removeDataMapFromDataNode(RemoveAction.java:463)
>      at 
> org.apache.cayenne.modeler.undo.RemoveUndoableEdit.redo(RemoveUndoableEdit.java:215)
>      at javax.swing.undo.UndoManager.redoTo(UndoManager.java:351)
>      at javax.swing.undo.UndoManager.redo(UndoManager.java:458)
>      at 
> org.apache.cayenne.modeler.undo.CayenneUndoManager.redo(CayenneUndoManager.java:65)
>      at 
> org.apache.cayenne.modeler.action.RedoAction.performAction(RedoAction.java:65)
>      at 
> org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:171)
>      at 
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
>      at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
>      at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
>      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>      at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
>      at 
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
>      at 
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
>      at 
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
>      at java.awt.Component.processMouseEvent(Component.java:6533)
>      at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
>      at java.awt.Component.processEvent(Component.java:6298)
>      at java.awt.Container.processEvent(Container.java:2236)
>      at java.awt.Component.dispatchEventImpl(Component.java:4889)
>      at java.awt.Container.dispatchEventImpl(Container.java:2294)
>      at java.awt.Component.dispatchEvent(Component.java:4711)
>      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
>      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
>      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
>      at java.awt.Container.dispatchEventImpl(Container.java:2280)
>      at java.awt.Window.dispatchEventImpl(Window.java:2746)
>      at java.awt.Component.dispatchEvent(Component.java:4711)
>      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
>      at java.awt.EventQueue.access$500(EventQueue.java:97)
>      at java.awt.EventQueue$3.run(EventQueue.java:709)
>      at java.awt.EventQueue$3.run(EventQueue.java:703)
>      at java.security.AccessController.doPrivileged(Native Method)
>      at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>      at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
>      at java.awt.EventQueue$4.run(EventQueue.java:731)
>      at java.awt.EventQueue$4.run(EventQueue.java:729)
>      at java.security.AccessController.doPrivileged(Native Method)
>      at 
> java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
>      at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
>      at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
>      at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
>      at 
> java.awt.EventDispatchThread.pumpEvent

  1   2   3   4   5   >