New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDEMPIERE-5991:improve file download by append file list inside process result panel #2206
base: master
Are you sure you want to change the base?
Conversation
…ss result panel (code resfactory)
…ss result panel (use new api)
…ss result panel (use new api) AbstractProcessDialog at line 1464 set file export to file download
processUI.download(outFile); | ||
else if( getProcessInfo() != null ){ | ||
ProcessInfo m_pi = getProcessInfo(); | ||
ProcessInfo m_pi = getProcessInfo(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now this process is not showing the user the output file to download when in foreground
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @hieplq
I'm not sure if this is still work in progress - if it is - is better to open a draft pull request, so we can wait for review until finished
@@ -192,9 +192,30 @@ public ProcessInfo (String Title, int AD_Process_ID) | |||
private String showHelp = null; | |||
|
|||
private int m_AD_Scheduler_ID = 0; | |||
/** | |||
* Files for download by user <br/> | |||
* The file path for download is also stored in the {@link ProcessInfoLog#m_P_Msg} with the {@link ProcessInfoLog#getPInstanceLogType} set to {@link X_AD_PInstance_Log#PINSTANCELOGTYPE_FilePath} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This javadoc is referring to links that don't exist
@@ -116,8 +116,11 @@ default public void askForInput(String message, MLookup lookup, int displayType, | |||
} | |||
|
|||
/** | |||
* add to list of file available for download after process end | |||
* Add to list of file available for download after process end<br/> | |||
* While this API is limited to processes with user interfaces, consider using {@link SvrProcess#addDownloadFile(File)} for broader support, <br/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this javadoc is referring to links that don't exist
Pull Request Checklist
Tests
Documentation