State:New|TargetRelease:No Target|icon_bug|database:public|icon_mari|Resolution:Fixed|BugID:453443|
Problem summary
Setting default export template for exporting channels via the Mari config file or environment variable doesn't work
This seems to happen with:
Export Current Channel
Export All Channels
Export Everything
Export Current Channel Flattened
Export All Channels Flattened
Export Everything Flattened
Customer reported version
mari.4.6v3
Customer reported platform
windows7
Steps to reproduce
A
1) Set the following environment variable:
MARI_EXPORTIMAGESEQ_TEMPLATE=$CHANNEL.test.$UDIM.tif
2) Open Mari and open the example head project
3) Channels>Export>Export Current Channel
4) In the Export template path, notice that the template does not use the one set via the environment variable:

B
1) Open your Mari4.6v4.ini/.conf file
2) Under [ExportImageSeq] change the path in Template, for example:

3) Open Mari and open the example head project
4) Channels>Export>Export Current Channel
5) In the Export template path, notice that the template does not use the one set in the Mari config file
*If you change the template in the export dialog, then close Mari, it updates the config file, but it doesn't seem to use it.
Expected behaviour
For the Export dialogs to use the export template set in the config file or the environment variable
Actual behaviour
It uses the previously set one
Workaround
You can use the Python commands in mari.resources to set the templates Pythonically
Reproduced by support
This bug has been reproduced in:
Mari 4.6v4 - Windows 10, CentOS 7, macOS 10.14.6
Mari 4.5v1 - Windows 10
Mari 4.0v1 - Windows 10
Mari 3.0v1 - Windows 10
Mari 2.6v5 - Windows 10, CentOS 7, macOS 10.14.6 *The Export dialog template is blank rather than using any template
Earliest version tested
Mari 2.6v5 - This issue appears to be in all versions of the product
We're sorry to hear that
Please tell us why