You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/03 12:57:00 UTC

[jira] [Commented] (FINERACT-546) Cannot remove Group from Center

    [ https://issues.apache.org/jira/browse/FINERACT-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16636914#comment-16636914 ] 

ASF GitHub Bot commented on FINERACT-546:
-----------------------------------------

ShruthiRajaram closed pull request #477: FINERACT-546 remove group from center
URL: https://github.com/apache/fineract/pull/477
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/fineract-provider/src/main/java/org/apache/fineract/portfolio/group/domain/Group.java b/fineract-provider/src/main/java/org/apache/fineract/portfolio/group/domain/Group.java
index c3a14ae7d..a40aad7e8 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/portfolio/group/domain/Group.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/portfolio/group/domain/Group.java
@@ -108,7 +108,7 @@
 
     @OneToMany(fetch = FetchType.EAGER)
     @JoinColumn(name = "parent_id")
-    private final List<Group> groupMembers = new LinkedList<>();
+    private List<Group> groupMembers = new LinkedList<>();
 
     @ManyToMany
     @JoinTable(name = "m_group_client", joinColumns = @JoinColumn(name = "group_id"), inverseJoinColumns = @JoinColumn(name = "client_id"))
@@ -744,4 +744,10 @@ public void updateAccountNo(final String accountIdentifier) {
         this.accountNumber = accountIdentifier;
         this.accountNumberRequiresAutoGeneration = false;
     }
+
+	public void setGroupMembers(List<Group> groupMembers) {
+		this.groupMembers = groupMembers;
+	}
+    
+    
 }
\ No newline at end of file


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Cannot remove Group from Center
> -------------------------------
>
>                 Key: FINERACT-546
>                 URL: https://issues.apache.org/jira/browse/FINERACT-546
>             Project: Apache Fineract
>          Issue Type: Bug
>          Components: Groups
>            Reporter: May Myint
>            Assignee: Shruthi  M R
>            Priority: Major
>              Labels: gci2017, group, p1
>             Fix For: 1.1.0
>
>
> Unable to remove Group from Center.
> Error message "field is required. error.msg.group.not.in.center"
> https://demo.openmf.org/#/viewcenter/1175



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)