Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Veil Veilig
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASD-Project-S2-2023-klas-B
Veil Veilig
Merge requests
!67
MR/Added; error logs for login and register
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
MR/Added; error logs for login and register
sub-task/ASDCBA-000-ui-alerts
into
feature/ASDCBA-000-ui
Overview
2
Commits
3
Pipelines
3
Changes
4
All threads resolved!
Hide all comments
Merged
Marco Noppen
requested to merge
sub-task/ASDCBA-000-ui-alerts
into
feature/ASDCBA-000-ui
1 year ago
Overview
2
Commits
3
Pipelines
3
Changes
4
All threads resolved!
Hide all comments
Expand
Login and register error alerting.
0
0
Merge request reports
Compare
feature/ASDCBA-000-ui
version 2
0d0cb89b
1 year ago
version 1
0d2fd2d8
1 year ago
feature/ASDCBA-000-ui (base)
and
latest version
latest version
c76c1eec
3 commits,
1 year ago
version 2
0d0cb89b
2 commits,
1 year ago
version 1
0d2fd2d8
1 commit,
1 year ago
4 files
+
92
−
20
Expand all files
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/main/java/nl/han/aim/asd/veilveilig/modules/infrastructure/ui/builder/auctionspupopwindow/CreateAuctionPopup.java
+
6
−
2
Options
@@ -110,9 +110,13 @@ public class CreateAuctionPopup {
error
+=
"Start datum moet voor de eind datum komen!\n"
;
}
if
(
start
.
before
(
new
Date
()))
{
error
+=
"Start datum mag niet voor de dag van vandaag zijn! \n"
;
if
(!
start
.
equals
(
new
Date
()))
{
Date
yesterday
=
new
Date
(
System
.
currentTimeMillis
()
-
1000L
*
60L
*
60L
*
24L
);
if
(
start
.
before
(
yesterday
))
{
error
+=
"Start datum moet vandaag of na vandaag zijn!\n"
;
}
}
}
if
(
catagoryTextField
==
null
||
catagoryTextField
.
getText
()
==
null
||
catagoryTextField
.
getText
().
isEmpty
()){