openMF / web-app

Mifos X Web App is the revamped version of the Mifos X Community App built on top of the Fineract Platform leveraging the popular Angular framework.
https://openmf.github.io/web-app/
Mozilla Public License 2.0
228 stars 511 forks source link

Manage Offices: Create Office Screen #147

Closed edcable closed 4 years ago

edcable commented 6 years ago

Goal:

As an operations manager or system administrator I want to create new offices so that I can define my office hierarchy.

This task requires implementing the same create office workflow located at https://demo.openmf.org/#/createoffice

Reference:

See

screen shot 2018-07-24 at 11 59 42 am

nirmalks commented 6 years ago

I have a couple of queries.

  1. The POST request for https://demo.openmf.org/fineract-provider/api/v1/offices throws a 500 error.

Request {"parentId":1,"name":"latestofficeaug28","locale":"en","dateFormat":"dd MMMM yyyy","openingDate":"28 August 2018"}

Response: {"timestamp":1535446435479,"status":500,"error":"Internal Server Error","exception":"org.springframework.orm.jpa.JpaSystemException","message":"The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.; nested exception is <openjpa-2.4.1-r422266:1730418 fatal general error> org.apache.openjpa.persistence.PersistenceException: The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.\nFailedObject: org.apache.fineract.notification.domain.Topic@60852fba"}

I cannot get the actual reason for the error. Is something wrong with the request?

  1. Can I work on this issue?
abhaychawla commented 6 years ago

@nirmalks There is nothing wrong with your request. It looks like there is an internal issue with the server. While the issue is resolved, you can go ahead and create the user interface for the screen. Make sure you follow all the guidelines.

nirmalks commented 6 years ago

@abhaychawla Thanks for the clarification. Should the web page design be same as in the screenshot. I see that in the web app that in most places, placeholders are used instead of labels.

abhaychawla commented 6 years ago

Fetch the latest code from the repository and have a look at the accounting section. The placeholders have been updated with labels. The screen should be implemented in a similar way to: https://openmf.github.io/web-app/accounting/closing-entries/create

nirmalks commented 6 years ago

Ok, Thank you. Will look into it.