Date/Time/Calendar Architecture with regards to Vikram Samvat

2016-09-19 Thread Yalu
Dear Dev Community,

This is my first post to this list and I apologize if the content of this 
message is not appropriate.

I am from Nepal and here the official Calendar System in widespread use is 
still exclusively a Hindu calendar system called Vikram Samvat. I am trying to 
get Mifos to be usable in Nepal and this is one of the major hurdle that is 
impeding adoption.

I am trying to determine what kind of Calendar Date/Time architecture/module 
Mifos X has so as to localize this aspect of the software faithfully and 
seamlessly; Whether the module is pluggable so that we could just plug in 
Vikram Samvat based calendar system(if it exists) or any other Calendar system, 
and we would be good to go.

Determining or making the architecture pluggable and having a slot to 
accommodate different kinds of Calendar/Date/Time system may only be one of a 
few related problems in this problem set. On the other side, I am not even sure 
if Nepal has a reliable computational Calendar library to plugin for Vikram 
Samvat.

I know there exists an approach that some local developers have been using to 
address Calendar solutions for Vikram Samvat. From what I know these systems 
are made not with pure algorithmic approach(thus scalable into the future) but 
by using pre-calculated data set of dates. These set of dates range between 
arbitrary(?) past and future dates. The authority that publishes the pre 
calculated dates and the legitimacy of their calculations may also be 
questionable. I have done some research on this and I will share more of my 
findings soon.

I would really appreciate any help localizing Mifos X in this manner. It would 
be a huge win for Nepali adoption of Mifos X. I will assist in any ways I can, 
so please ask questions, share your insights and discuss.

Thank You immensely for all your hard work. You all are all simply amazing.

Regards,

Yalu


Re: Error Clarification

2016-09-19 Thread Nayan Ambali
Raja, which browser you are using?

Community-app works better on latest versions of Chrome and Firefox.

-
Nayan Ambali

On Sep 19, 2016 8:27 PM, "Ranjithkumar Raja" 
wrote:

> Hi,
>
> Whenever I am trying to modify application of client loan,it does not
> submit,and create console error of date must be a object in angular.min.js
> exception.i never change anything in the angular js but,it show exception.
>
> The error log is,
>
> Datepicker directive: "ng-model" value must be a Date object, a number of
> milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO
> 8601 date.
> e/<()angular.min.js (line 84)
> refill(updateSelected=true)datepicker.js (line 311)
> .link/ngModel.$render()datepicker.js (line 341)
> ce Bd/this.$get Bd/this.$get f(a=200, b=Object { type="longString"}, c="Server: Apache-Coyote/1Sep
> 2016 06:15:37 GMT\r\n")angular.min.js (line 67)
> E(a=Object { type="object"}, d=200, e=Object { type="longString"},
> g="Server: Apache-Coyote/1Sep 2016 06:15:37 GMT\r\n")angular.min.js
> (line 71)
> pd/
> ...ch(m){}return a?function(){var
> a=[];q(arguments,function(b){a.push(d(b))});retur...
>
>
> Error: scope.loanaccountinfo.calendarOptions is undefined
> mifosX.controllers<.EditLoanAccAppController/scope.submit@
> https://localhost:8443/1/scripts/controllers/
> controllers.73218345.js:10363:21
> Za.prototype.functionCall/<@
> https://localhost:8443/1/bower_components/angular/angular.min.js:162:380
> mifosX.directives<.FormSubmitValidateDirective/<.compile/<.post/ https://localhost:8443/1/scripts/directives/directives.1c1f5ec7.js:226:37
> Bd/this.$get https://localhost:8443/1/bower_components/angular/angular.min.js:102:304
> Bd/this.$get https://localhost:8443/1/bower_components/angular/angular.min.js:103:43
> mifosX.directives<.FormSubmitValidateDirective/<.compile/<.post/<@
> https://localhost:8443/1/scripts/directives/directives.1c1f5ec7.js:225:33
> v.event.dispatch@
> https://localhost:8443/1/bower_components/jquery/jquery.min.js:2:38001
> v.event.add/u@
> https://localhost:8443/1/bower_components/jquery/jquery.min.js:2:33899
> e/<()angular.min.js (line 84)
> ld/this.$get 62)
> Bd/this.$get mifosX.directives<.FormSubmitValidateDirective/<.
> compile/<.post/<()directi...5ec7.js
> (line 225)
> v.event.dispatch(n=Object { type="object"})jquery.min.js (line 2)
> v.event.add/u(e=Object { type="object"})jquery.min.js (line 2)
>
>
> ...ch(m){}return a?function(){var
> a=[];q(arguments,function(b){a.push(d(b))});retur...
>


Error Clarification

2016-09-19 Thread Ranjithkumar Raja
Hi,

Whenever I am trying to modify application of client loan,it does not
submit,and create console error of date must be a object in angular.min.js
exception.i never change anything in the angular js but,it show exception.

The error log is,

Datepicker directive: "ng-model" value must be a Date object, a number of
milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO
8601 date.
e/<()angular.min.js (line 84)
refill(updateSelected=true)datepicker.js (line 311)
.link/ngModel.$render()datepicker.js (line 341)
cehttps://localhost:8443/1/scripts/controllers/controllers.73218345.js:10363:21
Za.prototype.functionCall/<@
https://localhost:8443/1/bower_components/angular/angular.min.js:162:380
mifosX.directives<.FormSubmitValidateDirective/<.compile/<.post/https://localhost:8443/1/scripts/directives/directives.1c1f5ec7.js:226:37
Bd/this.$gethttps://localhost:8443/1/bower_components/angular/angular.min.js:102:304
Bd/this.$gethttps://localhost:8443/1/bower_components/angular/angular.min.js:103:43
mifosX.directives<.FormSubmitValidateDirective/<.compile/<.post/<@
https://localhost:8443/1/scripts/directives/directives.1c1f5ec7.js:225:33
v.event.dispatch@
https://localhost:8443/1/bower_components/jquery/jquery.min.js:2:38001
v.event.add/u@
https://localhost:8443/1/bower_components/jquery/jquery.min.js:2:33899
e/<()angular.min.js (line 84)
ld/this.$get

[jira] [Updated] (FINERACT-225) If Loan rescheduling page is submitted with out checking any checkboxes then error message displayed is not proper

2016-09-19 Thread subramanyasn (JIRA)

 [ 
https://issues.apache.org/jira/browse/FINERACT-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

subramanyasn updated FINERACT-225:
--
Attachment: Reschedule loan.png

@ Ranjith,
If no inputs are given it should not specifically display error message asking 
for Grace on principal, Rather it should be Generic, asking for the user to 
check any one of the check boxes below

> If Loan rescheduling page is submitted with out checking any checkboxes then 
> error message displayed is not proper
> --
>
> Key: FINERACT-225
> URL: https://issues.apache.org/jira/browse/FINERACT-225
> Project: Apache Fineract
>  Issue Type: Bug
>Reporter: subramanyasn
>Assignee: Markus Geiss
>Priority: Minor
> Attachments: Reschedule loan.png
>
>
> Error message displayed as 
> "validation.msg.rescheduleloan.graceOnPrincipal.cannot.be.blank" if no check 
> box is checked.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (FINERACT-225) If Loan rescheduling page is submitted with out checking any checkboxes then error message displayed is not proper

2016-09-19 Thread Ranjith kumar (JIRA)

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

Ranjith kumar edited comment on FINERACT-225 at 9/19/16 7:55 AM:
-

HI,In this case  at least one of the following must be provided => 
graceOnPrincipal,graceOnInterest, extraTerms, newInterestRate

So,only it show the error of grace on principal not selected.


was (Author: ranjith5550):
HI,In this case  at least one of the following must be provided => 
graceOnPrincipal,graceOnInterest, extraTerms, newInterestRate

So,only it show the error of grace on principal not selected.

> If Loan rescheduling page is submitted with out checking any checkboxes then 
> error message displayed is not proper
> --
>
> Key: FINERACT-225
> URL: https://issues.apache.org/jira/browse/FINERACT-225
> Project: Apache Fineract
>  Issue Type: Bug
>Reporter: subramanyasn
>Assignee: Markus Geiss
>Priority: Minor
>
> Error message displayed as 
> "validation.msg.rescheduleloan.graceOnPrincipal.cannot.be.blank" if no check 
> box is checked.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Data Import Tool Issue reported by Moses on Gitter

2016-09-19 Thread Shreyaank Byadagi
Moses,

My Skype id: mifos.support

Regards
Shreyaank

On Mon, Sep 19, 2016 at 12:21 PM, Moses gmail  wrote:

> Morning Shreyaank,
>
>
>
> Its ok we are still in time. Please share with me your skype ID.
>
> My skype ID is mosswaweru.
>
>
>
> Regards,
>
> Moses.
>
> *From:* Shreyaank Byadagi [mailto:shreya...@confluxtechnologies.com]
> *Sent:* Monday, September 19, 2016 8:58 AM
> *To:* Moses gmail
> *Cc:* Ed Cable; dev@fineract.incubator.apache.org; Nayan Ambali; Avik
> Ganguly
>
> *Subject:* Re: Data Import Tool Issue reported by Moses on Gitter
>
>
>
> Hi Moses,
>
>
>
> Sorry for the delayed response, Please come over skype, I want check with
> your configuration settings.
>
>
>
> Regards
>
> Shreyaank
>
>
>
> On Fri, Sep 16, 2016 at 7:40 PM, Moses gmail  wrote:
>
> Ed,
>
>
>
> This error occurs when we try to *download the import sheet* from
> dataimport tool page and not at the time of actual import of data.
>
>
>
>
>
> Regards,
>
> Moses.
>
>
>
>
>
> *From:* Ed Cable [mailto:edca...@mifos.org]
> *Sent:* Friday, September 16, 2016 17:05 PM
> *To:* dev@fineract.incubator.apache.org; moses ngugi
> *Cc:* Nayan Ambali; Shreyaank Byadagi; Avik Gangulpic.twitter.com/
> 1doJI0HxLJ y
> *Subject:* Re: Data Import Tool Issue reported by Moses on Gitter
>
>
>
> Moses,
>
>
>
> Can you please reply to Nazeer's question?
>
>
>
> Thanks,
>
>
>
> Ed
>
>
>
> On Fri, Sep 16, 2016 at 7:01 AM, Nazeer Shaik  confluxtechnologies.com> wrote:
>
> Hi,
>
> This error is seen when we try to import huge JSON data or when we try to
> import alpha numeric account numbers.
>
> Can you check whether account number is numeric or not?
>
> Thanks,
> Nazeer
>
>
> On Fri, Sep 16, 2016 at 6:59 PM, Ed Cable  wrote:
>
> > Hi all,
> >
> > Moses reported this issue with the data import tool reported this error a
> > while back - could anyone please try to help him?
> >
> > Thanks,
> >
> > Ed
> > -- Forwarded message --
> > From: Ed Cable 
> > Date: Tue, Sep 13, 2016 at 10:10 AM
> > Subject: Data Import Tool Issue reported by Moses on Gitter
> > To: Nayan Ambali , Avik Ganguly <
> > avikganguly...@gmail.com>, Shreyaank Byadagi <
> > shreya...@confluxtechnologies.com>
> >
> >
> > Hi all,
> >
> > Have we had a chance to look into this issue?
> >
> > mossngugi @mossngugi Sep 05 06:06
> > @awasum I have checked the port number, mifos is running on 8443 here is
> > the server config file
> > 
> > 
> > 
> >  > />
> > 
> >  > />
> >
> > 
> >  > type="org.apache.catalina.UserDatabase"
> > description="User database that can be updated and saved"
> > factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
> > pathname="conf/tomcat-users.xml" />
> >
> >  > factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
> > driverClassName="org.drizzle.jdbc.DrizzleDriver" url="jdbc:mysql:thin://
> > localhost:3306/mifosplatform-tenants" username="root" password="mysql"
> > initialSize="3" maxActive="10" maxIdle="6" minIdle="3"
> > validationQuery="SELECT 1" testOnBorrow="true" testOnReturn="true"
> > testWhileIdle="true" timeBetweenEvictionRunsMillis="3"
> > minEvictableIdleTimeMillis="6" logAbandoned="true"
> suspectTimeout="60"
> > />
> > 
> >
> > 
> >
> >  port="8443"
> > maxThreads="200" scheme="https" secure="true" SSLEnabled="true"
> > keystoreFile="C:/Users/mose/.keystore" keystorePass="wDVhU8!"
> > clientAuth="false" sslProtocol="TLS" URIEncoding="UTF-8"
> > compression="force" compressableMimeType="text/
> > html,text/xml,text/plain,text/javascript,text/css"/>
> >
> > 
> >
> > 
> >  > resourceName="UserDatabase"/>
> > 
> >
> >  > autoDeploy="true">
> >
> >  > directory="logs" prefix="localhost_access_log." suffix=".log" pattern="%h
> > %l %u %t "%r" %s %b" />
> > 
> > 
> > 
> > 
> > I have changed mifos end point URL and mifos user ID as suggested above.
> > Unfortunately I have not succeed clearing the error.
> > java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at
> > line 1 column 1
> > I am using mifos version
> > Release Version: 16.06.01.RELEASE | Mifos X Release Date: 27/Jun/2016
> >
> > Thanks,
> >
> > Ed
> >
> >
> >
> >
> >
> > --
>
> > *Ed Cable*
> > Director of Community Programs, Mifos Initiative
> > edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
> >
> > *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
> >   
> >
>
>
>
>
>
> --
>
> *Ed Cable*
>
> Director of Community Programs, Mifos Initiative
>
> edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
>
>
>
> *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
>   
>
>
>
>
>
>
>
> --
>
> Thanks and Regards
>
> Shreyaank
>
> E-mail:shreya...@confluxtechnologies.com
>
>
>



-- 
Thanks and Regards
Shreyaank