mapaction / mapaction-toolbox

A collection of tools to help streamline the process of producing maps including data renaming and map exports.
GNU General Public License v3.0
3 stars 1 forks source link

Version Number subfolder is not created on export #178

Closed clairebyrne closed 4 years ago

clairebyrne commented 4 years ago

Expected Behavior

On export a new subfolder should be created within the MAxxx folder, and named by the version number. e.g. for MA001_V1 the export path should be GIS\3_Mapping\34_Map_Products_MapAction\MA001\V1

Actual Behavior

GIS\3_Mapping\34_Map_Products_MapAction\ - this much is detected automatically and is working Then a new subfolder is created based on the MA number \MAxxx, all exported items are added to this directory. The version subfolder used to be created - version number and MA number used to be two separate elements in the templates but are now a single element. This is being handled well in the layout tool and for some basic intelligence on the default value in the Map Status in the export tool. Suspect the subdirectory was being taken from the map_version element previously which no longer exists in the templates. Might be wise to look for anywhere that the code is looking for that element.

Steps to Reproduce the Problem

  1. Export map leaving the default Export Path (to ...\34_Map_Products_MapAction)

Specifications