Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADITO_Update_Upgrade
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab Maintenance 11.04.2025 | 20:00 - 23:00 MEZ
Show more breadcrumbs
xrm
ADITO_Update_Upgrade
Commits
59d188e4
Commit
59d188e4
authored
5 years ago
by
j.goderbauer
Browse files
Options
Downloads
Patches
Plain Diff
DSGVO: several bugfixes
parent
56bfe89b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
process/DataPrivacy_lib/process.js
+12
-7
12 additions, 7 deletions
process/DataPrivacy_lib/process.js
with
12 additions
and
7 deletions
process/DataPrivacy_lib/process.js
+
12
−
7
View file @
59d188e4
...
...
@@ -174,11 +174,14 @@ DataPrivacyType.get = function(pKey)
{
// Todo Format or set content dsgvotype
var
persData
=
_selectPersonal
(
pContactId
,
pContactIdSaved
,
[
"
DATEOFBIRTH
"
]);
return
[{
value
:
persData
.
DATEOFBIRTH
,
id
:
persData
.
CONTACTID
}]
if
(
persData
.
DATEOFBIRTH
)
return
[{
value
:
persData
.
DATEOFBIRTH
,
id
:
persData
.
CONTACTID
}];
else
return
[];
}
/**
...
...
@@ -320,7 +323,7 @@ DataPrivacyUtils.getDSGVO = function(pContactId, pFilterCond)
KeywordUtils
.
getResolvedTitleSqlPart
(
$KeywordRegistry
.
dsgvoType
(),
"
DSGVOTYPE
"
))
// 12 - dsgvotype-displayvalue)
.
from
(
"
DSGVO
"
)
.
where
(
"
DSGVO.CONTACT_ID
"
,
pContactId
)
.
and
(
pFilterCond
)
.
and
IfSet
(
pFilterCond
)
.
table
();
}
...
...
@@ -363,6 +366,8 @@ DataPrivacyUtils.collectAll = function(pContactId, pFilterCond)
data
.
forEach
(
function
(
pRow
)
{
if
(
pRow
.
value
==
""
)
//when the value is empty there is no need to insert the records since they'd been deleted later in the function
return
;
// search if it is already in DSGVO table
var
found
=
false
;
for
(
dat
in
contactDSGVO
)
...
...
@@ -415,7 +420,7 @@ DataPrivacyUtils.collectAll = function(pContactId, pFilterCond)
if
(
!
pRow
[
4
])
{
if
(
pRow
[
0
])
deletes
.
push
([
"
DSGVO
"
,
newWhere
(
"
DSGVO.DSGVOID
"
,
pRow
[
0
])]);
deletes
.
push
([
"
DSGVO
"
,
newWhere
(
"
DSGVO.DSGVOID
"
,
pRow
[
0
])
.
build
()
]);
return
false
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment