Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ public class ImportFeeScheduleAction extends SimpleRedirectAction<PipelinePathFo
public ActionURL getRedirectURL(PipelinePathForm form) throws Exception
{
Container c = getContainer();
File file = form.getValidatedSingleFile(c);
FileLike file = form.getValidatedSingleFile(c);

if (!file.exists())
{
throw new Exception("File not found");
}

ActionURL url = new ActionURL(FeeScheduleImportAction.class, c);
url.addParameter("filePath", file.getAbsolutePath());
url.addParameter("filePath", file.toNioPathForRead().toFile().getAbsolutePath());
//url.addParameter("tabPage", "");
//form.getRequest().getSession().setAttribute("tabPage", "");
return url;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public FeeSchedulePipelineJob(Container c, User user, ActionURL url, PipeRoot pi
super(null, new ViewBackgroundInfo(c, user, url), pipeRoot);
_importFile = importFile;
FileLike logFile = pipeRoot.getLogDirectoryFileLike(true).resolveChild(FileUtil.makeFileNameWithTimestamp("FeeSchedulePipeline", "log"));
setLogFile(logFile.toNioPathForWrite());
setLogFile(logFile);
_form = form;
_container = c;
_user = user;
Expand Down