Closed BobBooth closed 6 years ago
@dfoll - testing build 73 of Military Tools on ArcMap, per your request. This and issue 358 (https://github.com/Esri/military-tools-geoprocessing-toolbox/issues/358) are the two problems I found.
@kgonzago - can you compare the LYR file this is applying to the one it used to?
@csmoore - does this pair of issues suggest to you that maybe some old files got stirred into the mix during the midnight build shuffle?
@BobBooth - I confirmed this is a new bug found and not a configuration management issue
Long answer: since we lost the history with the reorg after PR #355 I did a diff ( - and created a branch: https://github.com/Esri/military-tools-geoprocessing-toolbox/tree/csm/pre-reorg -) against the last commit before the reorgs and the files were the same - except for the one intentional change - adding GetLayerPath function.
Update: There was one minor change - but just opening the GDB in ArcMap could have created such a difference - so probably not significant:
This one is not yet fixed in kg#358 branch. @csmoore @kgonzago @dfoll @topowright
This was fixed in https://github.com/Esri/military-tools-geoprocessing-toolbox/commit/2bf168f5c37b37e8aaa2ae139a49cfbb9a247264 and appears to be working correctly in the TBX from the repo. Need to retest after conda package is rebuilt.
This is fixed in the released version of the PYT available from the current download, for use in ArcMap. .
It is not working correctly in the version installed by the conda package in Pro 2.0.0.
Need to test again in Pro after conda package is rebuilt.
Adding development label back on since there is work that needs to be done in order to rebuild the conda package.
The layer files that were in the pyt have now been added to the python package. once the PR (https://github.com/Esri/military-tools-geoprocessing-toolbox/pull/372) has been reviewed this issue can be verified.
Verified in 10.3.1 and 10.6.1:
The Create Reference System GRG From Area tool from Military Tools build 73 runs and produces correctly symbolized output. However, the labels do not draw and ArcMap (10.3.1 - Advanced) gives FDO drawing error messages.
One or more layers failed to draw:
FDO error: 0 [Failed to label layer output_grid for class Default.] A column was specified that does not exist. A column was specified that does not exist.
I think the wrong LYR file is being applied. The label expression is looking for [GZD] and that field is not in the output table.
Expected Behavior
LYR file applied to output should have correct label expression.
Possible Solution
Find an old version of the LYR file(when it was working) and apply it.
Steps to Reproduce (for bugs)
Your Environment
Military Tools build 73
ArcMap (10.3.1 - Advanced)