Exclude system columns in Import/Export. Fixes #3448

This commit is contained in:
Akshay Joshi 2018-07-17 13:01:40 +01:00 committed by Dave Page
parent 8869fd6eb3
commit ba8f745f70
2 changed files with 17 additions and 13 deletions

View File

@ -24,4 +24,5 @@ Bug fixes
| `Bug #3363 <https://redmine.postgresql.org/issues/3363>`_ - Fix restoring of restore options for sections.
| `Bug #3371 <https://redmine.postgresql.org/issues/3371>`_ - Don't create a session when the /misc/ping test endpoint is called.
| `Bug #3446 <https://redmine.postgresql.org/issues/3446>`_ - Various procedure/function related fixes for EPAS/PG 11.
| `Bug #3448 <https://redmine.postgresql.org/issues/3448>`_ - Exclude system columns in Import/Export.
| `Bug #3457 <https://redmine.postgresql.org/issues/3457>`_ - Fix debugging of procedures in EPAS packages.

View File

@ -146,6 +146,8 @@ Backform, commonUtils, supportedNodes
res = [];
_.each(rows, function(r) {
// System columns with id less than 0 should not be added.
if ('_id' in r && r._id > 0) {
var l = (_.isFunction(node['node_label']) ?
(node['node_label']).apply(node, [r, self.model, self]) :
r.label),
@ -159,6 +161,7 @@ Backform, commonUtils, supportedNodes
'image': image,
'label': l,
});
}
});
return res;