Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Foundation
IT
Websites
membership.eclipse.org
Commits
c8a3ed71
Commit
c8a3ed71
authored
Sep 10, 2021
by
Martin Lowe
🇨🇦
Browse files
Add additional check to ensure the dateUpdated is present when checking
parent
07f9e91d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/org/eclipsefoundation/react/dto/MembershipForm.java
View file @
c8a3ed71
...
...
@@ -276,6 +276,8 @@ public class MembershipForm extends BareNode implements TargetedClone<Membership
if
(
dateCreated
!=
null
&&
StringUtils
.
isNumeric
(
dateCreated
))
{
stmt
.
addClause
(
new
ParameterizedSQLStatement
.
Clause
(
TABLE
.
getAlias
()
+
".dateUpdated < ?"
,
new
Object
[]
{
Long
.
parseLong
(
dateCreated
)
}));
stmt
.
addClause
(
new
ParameterizedSQLStatement
.
Clause
(
TABLE
.
getAlias
()
+
".dateUpdated IS NOT NULL"
,
new
Object
[]
{}));
}
return
stmt
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment