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
Need an option to filter provisioning entries by date, Fineract-462 #1113
Need an option to filter provisioning entries by date, Fineract-462 #1113
Conversation
Failed due to spotless errors, most probably you can fix them with |
Please @Charulathakarthikeyan , will you like to fix conflicts ? and ensure the Travis CI passes? |
Date filterdate = null; | ||
if (filterDate != null) { | ||
try { | ||
SimpleDateFormat format = new SimpleDateFormat("dd MMMM yyyy", Locale.ENGLISH); |
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.
Using Locale.ENGLISH? What if the user sent a different language? I think there is a locale param been sent on almost all request in Fineract..Maybe use that?
import io.swagger.v3.oas.annotations.Operation; | ||
import io.swagger.v3.oas.annotations.Parameter; | ||
import io.swagger.v3.oas.annotations.media.ArraySchema; | ||
import io.swagger.v3.oas.annotations.media.Content; |
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.
Are we sure all of these changes are in this PR because of the this feature or it was added by mistake from another commit?
Hi
Yes., that imports belongs to another commit , can you please skip out
those imports .
…On Sat, Jul 4, 2020, 7:19 PM Awasum Yannick ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In
fineract-provider/src/main/java/org/apache/fineract/accounting/provisioning/api/ProvisioningEntriesApiResource.java
<#1113 (comment)>:
> @@ -18,15 +18,15 @@
*/
package org.apache.fineract.accounting.provisioning.api;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiImplicitParam;
-import io.swagger.annotations.ApiImplicitParams;
-import io.swagger.annotations.ApiOperation;
-import io.swagger.annotations.ApiParam;
-import io.swagger.annotations.ApiResponse;
-import io.swagger.annotations.ApiResponses;
-import io.swagger.annotations.SwaggerDefinition;
-import io.swagger.annotations.Tag;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.Parameter;
+import io.swagger.v3.oas.annotations.media.ArraySchema;
+import io.swagger.v3.oas.annotations.media.Content;
Are we sure all of these changes are in this PR because of the this
feature or it was added by mistake from another commit?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1113 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCDYPSRJDDLEDSNL5UBN5DRZ4XPDANCNFSM4OIPYTKQ>
.
|
@Charulathakarthikeyan we can't skip out commits in your PR for you.. You have to do this, if you would like your contribution to get code reviewed and merged. |
okay ,i'll recommit it .
…On Tue, Jul 14, 2020 at 3:32 AM Michael Vorburger ⛑️ < ***@***.***> wrote:
@Charulathakarthikeyan <https://github.com/Charulathakarthikeyan> we
can't skip out commits in your PR for you.. You have to do this, if you
would like your contribution to get code reviewed and merged.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1113 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCDYPUONV4OZD2I22R77C3R3N77LANCNFSM4OIPYTKQ>
.
--
*Regards ,*
*Charulatha Karthikeyan *
*Software Developer |* Habile technologies
www.habiletechnologies.com | (m) : +918939798772
|
entries by date, Fineract-462
SimpleDateFormat format = new SimpleDateFormat("dd MMMM yyyy", Locale.ENGLISH); | ||
filterdate = format.parse(filterDate); | ||
} catch (ParseException e) { | ||
e.printStackTrace(); |
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.
NOK, please follow https://github.com/apache/fineract/#error-handling-guidelines (use LOG.error("retrieveAllProvisioningEntriesByDate() bad filterDate: {}", filterDate, e);
)
@Charulathakarthikeyan Have you been able to address the merge conflicts? I sent an email to your colleagues as well. |
Hi,
I solved the conflict , occurred in one API which is
"ProvisioningEntriesApiResource" on Jul 15, 2020 and made my commit on
that day .
…On Thu, Aug 13, 2020 at 10:59 PM edcable ***@***.***> wrote:
@Charulathakarthikeyan <https://github.com/Charulathakarthikeyan> Have
you been able to address the merge conflicts? I sent an email to your
colleagues as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1113 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCDYPW6E5QTX5NYJYQNI4TSAQPHHANCNFSM4OIPYTKQ>
.
--
*Regards ,*
*Charulatha Karthikeyan *
*Software Developer |* Habile technologies
www.habiletechnologies.com | (m) : +918939798772
|
This pull request seems to be stale. Are you still planning to work on it? We will automatically close it in 30 days. |
@Charulathakarthikeyan are you still interested in getting this merged? You have to git rebase it, resolve merge conflicts, and make sure that it passes the build on Travis CI. We won't be able to do this for you, so you have to follow up on this if you want us to review and merge. The pill request will automatically get closed if you continue to ignore it. |
I recommitted this code with new id contactus@habile.in to avoid this
issue. And also I made PR using that id .
…On Sat, Sep 19, 2020 at 12:32 PM Michael Vorburger ⛑️ < ***@***.***> wrote:
@Charulathakarthikeyan <https://github.com/Charulathakarthikeyan> are you
still interested in getting this merged? You have to git rebase it, resolve
merge conflicts, and make sure that it passes the build on Travis CI. We
won't be able to do this for you, so you have to follow up on this if you
want us to review and merge. The pill request will automatically get closed
if you continue to ignore it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1113 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCDYPVRQ4DWQRQC2BD357DSGRJRJANCNFSM4OIPYTKQ>
.
--
*Regards ,*
*Charulatha Karthikeyan *
*Software Developer |* Habile technologies
www.habiletechnologies.com | (m) : +918939798772
|
I'm not sure what you mean - which PR, where? I don't see any from you on https://github.com/apache/fineract/pulls. |
…dd a validation error when a user attempts a recovery repayment which is greater than the total written off for the loan
…dd a validation error when a user attempts a recovery repayment which is greater than the total written off for the loan
FINERACT-462
Description
Describe the changes made and why they were made. Ignore if these details are present on the associated Jira ticket
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
Commit message starts with the issue number from https://issues.apache.org/jira/projects/FINERACT/. Ex: FINERACT-646 Pockets API.
Coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions have been followed.
API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm has been updated with details of any API changes.
Integration tests have been created/updated for verifying the changes made.
All Integrations tests are passing with the new commits.
Submission is not a "code dump". (Large changes can be made "in repository" via a branch. Ask on the list.)
Our guidelines for code reviews is at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide