[ https://issues.apache.org/jira/browse/CAY-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15689521#comment-15689521 ]
ASF GitHub Bot commented on CAY-2150: ------------------------------------- GitHub user stariy95 opened a pull request: https://github.com/apache/cayenne/pull/139 CAY-2150 UI bug: PK generation custom sequence is getting reset **Fix details**: - UI is updated correctly - added undo support for generator type change You can merge this pull request into a Git repository by running: $ git pull https://github.com/stariy95/cayenne CAY-2150 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cayenne/pull/139.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 #139 ---- commit 17da69bc3e59d72b14ae379222e4cb6735e4c0ea Author: Nikita Timofeev <stari...@gmail.com> Date: 2016-11-23T09:20:56Z CAY-2150 UI bug: PK generation custom sequence is getting reset Fix: UI is updated correctly + added undo support for generator type change ---- > UI bug: PK generation custom sequence is getting reset > ------------------------------------------------------ > > Key: CAY-2150 > URL: https://issues.apache.org/jira/browse/CAY-2150 > Project: Cayenne > Issue Type: Bug > Components: Modeler > Affects Versions: 4.0.M3 > Reporter: Dzmitry Kazimirchyk > Assignee: Nikita Timofeev > > Steps to reproduce: > 1. Select "Custom Sequence" PK generation strategy for a DbEntity; > 2. Fill out "Sequence Name" and "Cached PK Size" fields; > 3. Select some other PK generation strategy from the combo box; > 4. Switch to "Custom Sequence" PK generation strategy again (the values set > up previously are displayed in the fields); > 5. Save the project and close it; > 6. Open the project: "Sequence Name" and "Cached PK Size" fields are blank -- This message was sent by Atlassian JIRA (v6.3.4#6332)