Accounting Exports - Voucher Date is always set to "20101209" (9th Dec 2010)

Description

For all accounting export entries in the Tally XML file, the voucher date is set to "20101209" (9th Dec 2010).
So, once these transactions are imported to Tally, these always come up in Tally as last years transactions.

Repro:
1. Login to Mifos.
2. Go to Admin tab.
3. Click on 'View accounting exports'.
4. Click on 'Generate Export and View Details'.
5. Click on 'Download Tally XML format'.
6. Check XML file.

Expected result:
Voucher dates are set to the date of transactions.

Actual result:
Voucher dates are always set to "20101209" (9th Dec 2010).

Environment

None

Activity

Show:
Jakub Sławiński
September 30, 2011, 12:43 PM

Fixed in commit 1a93218eb221f5f0565a4cd6c82ea3719a49e1d1.

I have also cherry-picked this fix to the f-release branch (so if we decide to release 2.1.7, this fix will be also included there).

Mifos Hudson Jira Plugin User
September 30, 2011, 1:46 PM

Integrated in

head-f-release #201
FIXED MIFOS-5134: Fixed date format used to parse dates from database.

Jakub Slawinski : 7eadacf4cf6337efecd362fca3220dec9f862ef9
Files :

  • accounting/src/test/java/org/mifos/platform/accounting/service/AccountingServiceTest.java

  • accounting/src/main/java/org/mifos/platform/accounting/tally/TallyMessageGenerator.java

Lukasz Chudy
October 5, 2011, 2:20 PM

Verified on 05.10.2011
Bug has been fixed properly.

Mifos Hudson Jira Plugin User
October 6, 2011, 5:34 PM

Integrated in

head-master-secondary #512
FIXED MIFOS-5134: Fixed date format used to parse dates from database.

Jakub Slawinski :
Files :

  • accounting/src/main/java/org/mifos/platform/accounting/tally/TallyMessageGenerator.java

  • accounting/src/test/java/org/mifos/platform/accounting/service/AccountingServiceTest.java

UdaiU
November 1, 2011, 1:32 PM

Fixed by Jakub

Assignee

Jakub Sławiński

Reporter

Lukasz Chudy

Labels

URL

None

Story Points

0

Team

Core

Scheduled For

None

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Major
Configure