Esri / data-assistant

ArcGIS Pro Add-in that assists in emergency management, local government and state government data aggregation workflows.
Apache License 2.0
22 stars 8 forks source link

New mapping file path uses previous files path #79

Closed MikeMillerGIS closed 7 years ago

MikeMillerGIS commented 7 years ago

Reported by @jessnoo

set up: fgdb1 - evacuationroute fgdb2 - evacuationroutetarget hosted fs - called evacuationroutetarget (eg http://services.arcgis.com/8KEQHzVdm3qDSW1h/arcgis/rest/services/EvacuationRouteTarget/FeatureServer/0 where the 0 layer name is EvacuationRouteTarget)

Map with fgdb1 evacuationroute and the hosted feature service loaded into it Another map with fgdb2 layer loaded in it and called evacuationroutetarget

Repro Steps:

  1. Create a new mapping file that fgdb to fgdb --- use the browse buttons and navigate to input layers
  2. open file in data mapper
  3. run append
  4. Create a new mapping file that is fgdb to fs -- use the layers in the map

    New mapping file has old path in it

  5. load
MikeMillerGIS commented 7 years ago

@jessnoo is this still an issue?

SteveGrise commented 7 years ago

I'm not sure where the 'Memory Issue' title came from, it looks to me like an issue with 2 different maps.

MikeMillerGIS commented 7 years ago

@SteveGrise updated the title

jessnoo commented 7 years ago

@MikeMillerGIS @SteveGrise Yes -- this is still an issue

in this example from the 1.4 testing, the input mapping file is for fGDB to eGDB -- but the oracle DB isn't updated -- and the messages indicate my previous test with a shapefile was used.

image

SteveGrise commented 7 years ago

Code was only checking one map not all maps. Should always check all maps, also should not need to do that if the layer is selected and passed as a layer object. Addressed in fix for #86

jessnoo commented 7 years ago

validated with sprint 1 drop for dec 2016