Skip to content

[BUG] cannot update asset types that are not in standard retrieve list #2501

@JoernBerkefeld

Description

@JoernBerkefeld

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

looks like caching for type asset only caches whats in the standard retrieve list during a deployment of any given asset.

in the case of subtypes that were specifically retrieved but are not in the normal list (project config or asset defaults?) that leads to an attempt to re-CREATE the asset instead of updating it.

Image

Expected Behavior

mcdev should check whats in the deployment package and cache relevant asset subtypes accordingly, instead of going with default values. even if one runs "mcdev deploy cred/bu -m asset" or "mcdev deploy cred/bu -m asset:key" (but not use asset-subtype in the command explicitely)

Steps To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Run '...'
  4. See error...

Version

8.4.0

Environment

  • OS:
  • Node:
  • npm:

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingc/assetCOMPONENT

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions