upload directory should be within MIFOS_CONF by default
-------------------------------------------------------
Key: MIFOS-3516
URL: http://mifosforge.jira.com/browse/MIFOS-3516
Project: mifos
Issue Type: Story
Components: ImportExport, Reports Module
Reporter: Adam Monsen
Currently, {{GeneralConfig.UploadStorageDirectory}} is defined as
{{$HOME/.mifos/uploads}} in {{applicationConfiguration.default.properties}}.
This means that even if a sysadmin overrides MIFOS_CONF, uploads still end up
in the home directory of whatever user is running Mifos unless
{{GeneralConfig.UploadStorageDirectory}} is also modified in tandem with
MIFOS_CONF (this is one workaround).
However, it seems intuitive that MIFOS_CONF overrides where *all*
instance-specific files are stored, including uploaded files and plugins. This
is especially helpful on systems where multiple instances of Mifos are running
concurrently.
{{GeneralConfig.UploadStorageDirectory}} should instead be set to
{{$MIFOS_CONF/uploads}}, and {{$MIFOS_CONF}} should expand to the return value
of {{ConfigurationLocator.getConfigurationDirectory()}}.
For usage, see
* {{BirtAdminDocumentUploadAction.java}}
* {{BirtReportsUploadAction.java}}
Also, share (refactor) code in {{getUploadStorageDirectory()}},
{{getCustomReportStorageDirectory()}} and
{{getAdminDocumentStorageDirectory()}}.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues