[magnolia-dev] [JIRA] (MGNLWORKFLOW-352) Tasks are stored in wrong folder structure - month

"JIRA (on behalf of Mariusz Chruscielewski)" <jira-O8DnXSz/[email protected]> Wed, 14 Jun 2017 11:30:02 +0200 (CEST)
Newsgroups gmane.comp.cms.magnolia.devel
Message-ID <[email protected]>
Mariusz Chruscielewski created an issue

Magnolia Workflow Module / https://jira.magnolia-cms.com/browse/MGNLWORKFLOW-352 MGNLWORKFLOW-352

Tasks are stored in wrong folder structure - month

Issue Type:
Bug

Assignee:
Unassigned

Created:
14/Jun/17 11:29 AM

Priority:
Neutral

Reporter:
Mariusz Chruscielewski

Hi, becasue Calendar indexes months from 0, task are stored in wrong folder structure. For exaple task from today will be saved in JCR as:
2017 / 5 / 14

This calculation is done in:
info.magnolia.task.persistence.TaskPathGenerator
method: getCurrentDateFolderPath()
String month = String.valueOf(cal.get(2)); <- this will return 5 for June

This is not very convinient for users who wants to check tasks archive. Can you please fix that?

Thanks
Mariusz

https://jira.magnolia-cms.com/browse/MGNLWORKFLOW-352#add-comment
Add Comment

This message was sent by Atlassian JIRA (v7.2.6#72008-sha1:26175bf)

----------

----------------------------------------------------------------

For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html

Alternatively, use our forums: http://forum.magnolia-cms.com/

To unsubscribe, E-mail to: <[email protected]>

----------------------------------------------------------------
(unnamed) (image/png, 425 B) - not displayed
(unnamed) (image/png, 2.6 KB) - not displayed
(unnamed) (image/gif, 98 B) - not displayed
(unnamed) (image/png, 1.1 KB) - not displayed
(unnamed) (image/png, 2.9 KB) - not displayed