Skip to content
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

Couple fixes #570

Merged
merged 1 commit into from
Jan 25, 2024
Merged

Couple fixes #570

merged 1 commit into from
Jan 25, 2024

Conversation

sree-cfa
Copy link
Contributor

  • FTP encoding fix - was using ascii by default
  • Handle NPE for snap apps

- FTP encoding fix - was using ascii by default
- Handle NPE for snap apps
@sree-cfa sree-cfa temporarily deployed to test-la-doc-uploader-pr-570 January 25, 2024 21:19 Inactive
@@ -18,7 +17,7 @@ public class ExpeditedSnapPreparer implements SubmissionFieldPreparer {
public Map<String, SubmissionField> prepareSubmissionFields(Submission submission, PdfMap pdfMap) {
Map<String, SubmissionField> results = new HashMap<>();

String isEligibleForExpeditedSnap = submission.getInputData().get("isEligibleForExpeditedSnap").toString();
var isEligibleForExpeditedSnap = submission.getInputData().getOrDefault("isEligibleForExpeditedSnap", "false");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @analoo - related to the issue I linked

@sree-cfa sree-cfa marked this pull request as ready for review January 25, 2024 21:19
@sree-cfa sree-cfa merged commit 8cbf24a into main Jan 25, 2024
5 checks passed
@sree-cfa sree-cfa deleted the fixes branch January 25, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant