Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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 28.03.2025 | 20:00 - 23:00 MEZ
Show more breadcrumbs
xrm
basic
Commits
f9d327cf
Commit
f9d327cf
authored
3 years ago
by
Pascal Neub
Browse files
Options
Downloads
Plain Diff
merged 2021.1 into sales_pn_1081118_Offer_entity_onDBInser_asysbinary
parents
300c8660
0e4b4da4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_binaries.xml
+1
-1
1 addition, 1 deletion
...___SYSTEMALIAS/basic/init/struct/create_asys_binaries.xml
process/Attribute_lib/process.js
+3
-3
3 additions, 3 deletions
process/Attribute_lib/process.js
with
4 additions
and
4 deletions
.liquibase/_____SYSTEMALIAS/basic/init/struct/create_asys_binaries.xml
+
1
−
1
View file @
f9d327cf
...
...
@@ -15,7 +15,7 @@
<column
name=
"TABLENAME"
type=
"NVARCHAR(127)"
/>
<column
name=
"FILENAME"
type=
"NVARCHAR(127)"
/>
<column
name=
"ROW_ID"
type=
"CHAR(36)"
/>
<column
name=
"DESCRIPTION"
type=
"NVARCHAR(
127
)"
/>
<column
name=
"DESCRIPTION"
type=
"NVARCHAR(
2048
)"
/>
<column
name=
"KEYWORD"
type=
"VARCHAR(255)"
/>
<column
name=
"MIMETYPE"
type=
"VARCHAR(127)"
/>
<column
name=
"PREVIEW"
type=
"LONGBLOB"
/>
...
...
This diff is collapsed.
Click to expand it.
process/Attribute_lib/process.js
+
3
−
3
View file @
f9d327cf
...
...
@@ -769,7 +769,7 @@ AttributeRelationUtils.validateAttributeCount = function (pRowId, pObjectType, p
},
countObj
);
}
var
possibleAttributes
=
AttributeUtil
.
getPossibleAttributes
(
pObjectType
,
undefined
,
pFilteredAttributeIds
);
var
possibleAttributes
=
AttributeUtil
.
getPossibleAttributes
(
pObjectType
,
undefined
,
pFilteredAttributeIds
)
||
[]
;
var
minMaxCounts
=
[];
if
(
possibleAttributes
.
length
>
0
)
...
...
@@ -794,8 +794,8 @@ AttributeRelationUtils.validateAttributeCount = function (pRowId, pObjectType, p
// get all possible parent attributes
var
possibleParentAttributes
=
newSelect
(
"
distinct ATTRIBUTE_PARENT_ID
"
)
.
from
(
"
AB_ATTRIBUTE
"
)
.
where
(
"
AB_ATTRIBUTE.AB_ATTRIBUTEID
"
,
possibleAttributes
,
SqlBuilder
.
IN
())
.
arrayColumn
();
.
where
IfSet
(
"
AB_ATTRIBUTE.AB_ATTRIBUTEID
"
,
possibleAttributes
,
SqlBuilder
.
IN
())
.
arrayColumn
(
true
);
// remove empty elements
possibleParentAttributes
=
possibleParentAttributes
.
filter
(
function
(
el
)
{
return
el
!=
null
&&
el
!=
""
;
});
...
...
This diff is collapsed.
Click to expand it.
Benjamin Ulrich
@b.ulrich
mentioned in commit
c38af960
·
3 years ago
mentioned in commit
c38af960
mentioned in commit c38af960228d7ea75c2ac90614a1ab426328fa68
Toggle commit list
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