Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] deploying template and template-based email in one go ends with "does not have field 'id'" #1772

Open
1 task done
JoernBerkefeld opened this issue Oct 3, 2024 · 0 comments
Assignees
Labels
bug Something isn't working c/asset COMPONENT PRIORITY used for professional service clients
Milestone

Comments

@JoernBerkefeld
Copy link
Contributor

JoernBerkefeld commented Oct 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

the api does return the id for the template but it does not seem to make its way into the cache for some reason

error: ☇ skipping asset email_key / email_name: asset with customerKey 'templatekey' does not have field 'id'

at Object.searchForField (file:///C:/Git/sfmc-devtools/lib/util/cache.js:145:27)
at Asset.preDeployTasks (file:///C:/Git/sfmc-devtools/lib/metadataTypes/Asset.js:808:53)
at Asset.upsert (file:///C:/Git/sfmc-devtools/lib/metadataTypes/MetadataType.js:734:53)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Asset.deploy (file:///C:/Git/sfmc-devtools/lib/metadataTypes/MetadataType.js:137:37)
at async Deployer._deploy (file:///C:/Git/sfmc-devtools/lib/Deployer.js:363:32)
at async Deployer._deployBU (file:///C:/Git/sfmc-devtools/lib/Deployer.js:248:40)
at async Deployer.deploy (file:///C:/Git/sfmc-devtools/lib/Deployer.js:204:46)
at async Mcdev.deploy (file:///C:/Git/sfmc-devtools/lib/index.js:503:30)

looks like this type-interdependency is not resolved for some reason

Version

7.4.3

@JoernBerkefeld JoernBerkefeld added bug Something isn't working c/asset COMPONENT labels Oct 3, 2024
@JoernBerkefeld JoernBerkefeld added this to the 7.4.5 milestone Oct 3, 2024
@JoernBerkefeld JoernBerkefeld self-assigned this Oct 17, 2024
@JoernBerkefeld JoernBerkefeld added the PRIORITY used for professional service clients label Oct 17, 2024
@JoernBerkefeld JoernBerkefeld modified the milestones: 7.4.5, 7.4.6 Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c/asset COMPONENT PRIORITY used for professional service clients
Projects
None yet
Development

No branches or pull requests

1 participant