sfmc-devtools icon indicating copy to clipboard operation
sfmc-devtools copied to clipboard

[BUG] folders saved to retrieve/ during deploy even if not listed for retrieval

Open JoernBerkefeld opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

whenever you deploy something that relies on folders, these are auto-created in the deploy folder and then deployed before deploying the dependant metadata. subsequently, all deployed metadata is copied to the retrieve folder.

Expected Behavior

metadata that shouldn't be retrieved as per config also shouldn't end up being saved to the retrieve folder. not just the metadata type folder but also other types

Steps To Reproduce

  1. deploy data extension into folder Data Extension/test/
  2. see how it creates folder/Data Extension/test in your BU's retrieve dir

Version

3.0.3 (Default)

Environment

No response

JoernBerkefeld avatar Aug 24 '21 11:08 JoernBerkefeld

hi, ihave problems reproducing it

  1. Create a folder in "C:\repos\test\deploy\tuliodnw\MCDEV_Training_Target_2\dataExtension"
  2. Create File for Deploy"C:\repos\test\deploy\tuliodnw\MCDEV_Training_Target_2\dataExtension\test\Germany Data Extension.dataExtension-meta.json"
  3. run mcdev d tuliodnw/MCDEV_Training_Target_2 dataExtension in test

Expected: "test" folder in in retrieve and the File in step 2 to be deployed Happened: folder is not retrieve and file is not deployed

did i misunderstood the Steps To Reproduce?

tuliodnw avatar Aug 03 '22 12:08 tuliodnw