[
https://issues.apache.org/jira/browse/FINERACT-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17272196#comment-17272196
]
Benura Abeywardena commented on FINERACT-935:
---------------------------------------------
[~vorburger] Is there a way to build the project after doing changes? I'm
trying to return the Exception message to the client and changed the count of
the default parameters used in the staff constructor of the API controller
class. Simply I need to change the format of the constructor of the controller
class. How could I achieve that sir?
> StaffNotFoundException at StaffRepositoryWrapper
> ------------------------------------------------
>
> Key: FINERACT-935
> URL: https://issues.apache.org/jira/browse/FINERACT-935
> Project: Apache Fineract
> Issue Type: Bug
> Reporter: Michael Vorburger
> Assignee: Benura Abeywardena
> Priority: Major
>
> See FINERACT-932 for general background, and determine if this error log can
> and should be "fixed", or if this represents a condition that shouldn't be
> logged as an error (or conclude that this is a totally valid error log that
> is useful, any why):
> {code}org.apache.fineract.organisation.staff.exception.StaffNotFoundException
> at
> org.apache.fineract.organisation.staff.domain.StaffRepositoryWrapper.lambda$findByOfficeHierarchyWithNotFoundDetection$1(StaffRepositoryWrapper.java:54)
> at java.util.Optional.orElseThrow(Optional.java:290)
> at
> org.apache.fineract.organisation.staff.domain.StaffRepositoryWrapper.findByOfficeHierarchyWithNotFoundDetection(StaffRepositoryWrapper.java:54)
> at
> org.apache.fineract.portfolio.client.service.ClientWritePlatformServiceJpaRepositoryImpl.createClient(ClientWritePlatformServiceJpaRepositoryImpl.java:248)
> at
> org.apache.fineract.portfolio.client.service.ClientWritePlatformServiceJpaRepositoryImpl$$FastClassBySpringCGLIB$$71ca1b7f.invoke(<generated>){code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)