Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
7590ca43
Commit
7590ca43
authored
Nov 28, 2017
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
J008 - 'Open'-ing job from this screen may not set the expiration date properly
parent
2b5821da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
SaveJobFP.java
cmsWebApp/src/performa/form/SaveJobFP.java
+5
-5
No files found.
cmsWebApp/src/performa/form/SaveJobFP.java
View file @
7590ca43
...
...
@@ -35,17 +35,17 @@ public class SaveJobFP extends SaveFP
Job
oldJob
=
(
Job
)
job
.
getEarliestBackup
();
if
(
oldJob
!=
null
&&
oldJob
.
getJobStatus
()
==
JobStatus
.
DRAFT
&&
(
job
.
getJobStatus
()
==
JobStatus
.
OPEN
||
openJob
==
Boolean
.
TRUE
))
{
job
.
setApplyBy
(
DateDiff
.
add
(
DateDiff
.
getToday
(),
Calendar
.
DATE
,
30
));
job
.
setOpenDate
(
new
Date
());
if
(
openJob
==
Boolean
.
TRUE
)
{
job
.
setJobStatus
(
JobStatus
.
OPEN
);
LogMgr
.
log
(
Job
.
LOG
,
LogLevel
.
PROCESSING1
,
"Job status changed as Open. "
,
job
);
}
if
(
oldJob
!=
null
&&
oldJob
.
getJobStatus
()
==
JobStatus
.
DRAFT
&&
job
.
getJobStatus
()
==
JobStatus
.
OPEN
)
{
job
.
setApplyBy
(
DateDiff
.
add
(
DateDiff
.
getToday
(),
Calendar
.
DATE
,
30
));
job
.
setOpenDate
(
new
Date
());
}
if
(
job
.
getJobStatus
()
==
JobStatus
.
OPEN
&&
job
.
getShortenedURL
()
==
null
)
...
...
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