ConfiguredDocument: Do not add a primary key to portals each time.
authorMurray Cumming <murrayc@murrayc.com>
Fri, 8 Jun 2012 14:21:41 +0000 (16:21 +0200)
committerMurray Cumming <murrayc@murrayc.com>
Fri, 8 Jun 2012 14:21:41 +0000 (16:21 +0200)
commit9b1ebd07686fca0c2b72bda2c03b797ff1767dfc
tree544651a8527bb2cead8892614d5960654092d58a
parentbde2fdfc6cc1922d07ccd5419392cd01861f697d
ConfiguredDocument: Do not add a primary key to portals each time.

* src/main/java/org/glom/web/server/ConfiguredDocument.java
updatePortalsExtras(): Only add an extra primary key field if there is
none, to avoid adding one each time we retrieve the details layout from the
layouts cache.
This should fix bug #676986 (Ben Konrath)
ChangeLog
src/main/java/org/glom/web/server/ConfiguredDocument.java