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

Add Clients + Errors as "ERROR TypeError" in Manage Members in a Group #1565

Closed
tapaswenipathak opened this issue Nov 13, 2022 · 3 comments
Closed
Assignees
Labels

Comments

@tapaswenipathak
Copy link
Member

Description

Unable to add clients in Manage Members in a Group.

Steps to Reproduce

  1. Create Group.
  2. Open created Group.
  3. Click Manage Members.
  4. Type in Add Clients on https://sandbox.mifos.community/#/groups/6/actions/Manage%20Members.
  5. Click on +

Expected Behaviour

Successful addition of Client.

Actual Behaviour

Console Error:

ERROR TypeError: Cannot read properties of undefined (reading 'includes')
    at t.addClient (main.6c52092b92530a765916.js:1:3965595)
    at main.6c52092b92530a765916.js:1:3967713
    at uh (main.6c52092b92530a765916.js:1:354417)
    at Y (main.6c52092b92530a765916.js:1:354584)
    at HTMLButtonElement.<anonymous> (main.6c52092b92530a765916.js:1:1260103)
    at f.invokeTask (polyfills.c7e0f5ea238f0d7415bb.js:1:8294)
    at Object.onInvokeTask (main.6c52092b92530a765916.js:1:436317)
    at f.invokeTask (polyfills.c7e0f5ea238f0d7415bb.js:1:8215)
    at f.runTask (polyfills.c7e0f5ea238f0d7415bb.js:1:3350)
    at f.invokeTask [as invoke] (polyfills.c7e0f5ea238f0d7415bb.js:1:9429)
Mh @ main.6c52092b92530a765916.js:1
value @ main.6c52092b92530a765916.js:1
pm @ main.6c52092b92530a765916.js:1
uh @ main.6c52092b92530a765916.js:1
Y @ main.6c52092b92530a765916.js:1
(anonymous) @ main.6c52092b92530a765916.js:1
f.invokeTask @ polyfills.c7e0f5ea238f0d7415bb.js:1
onInvokeTask @ main.6c52092b92530a765916.js:1
f.invokeTask @ polyfills.c7e0f5ea238f0d7415bb.js:1
f.runTask @ polyfills.c7e0f5ea238f0d7415bb.js:1
f.invokeTask @ polyfills.c7e0f5ea238f0d7415bb.js:1
b @ polyfills.c7e0f5ea238f0d7415bb.js:1
R @ polyfills.c7e0f5ea238f0d7415bb.js:1
M @ polyfills.c7e0f5ea238f0d7415bb.js:1

Settings

Screenshots, if any

Screenshot 2022-11-13 at 5 57 24 PM

Ref openMF/mifos-documentation#14 (comment).

cc @edcable.

@bharathcgowda
Copy link
Collaborator

Hi @anika-001 could you please review this issue?

@anika-001
Copy link
Collaborator

anika-001 commented Nov 20, 2022

Hi, can you share if the created group had 'active' or 'pending' status? @tapaswenipathak

My understanding is that we can't add clients to a pending status group. To resolve the same, I can disable the button(for inactive) and add a notification to notify user for the same.

@bharathcgowda
Copy link
Collaborator

@anika-001 if we are able to add clients from the active groups, then this is not an issue. you can disable the add buttons when the group is inactive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants