Skip to content

publish templates breaks the contribution workflow #78

@MustafaJafar

Description

@MustafaJafar

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Description

Current Behavior

When using a custom publish template for usd product in Houdini, it breaks the contribution workflow.
I checked the published files and found they were pointing to the other layer as if they were published using the default template.

examples:

here's a published assembly layer.
#usda 1.0
(
    defaultPrim = "hou_component_builder"
    metersPerUnit = 1
    subLayers = [
        @\\storage\work\ayon\RnD\features\hou_component_builder\publish\usd\usdSimpleCube\v010\rnd_hou_component_builder_usdSimpleCube_v010.usd:SDF_FORMAT_ARGS:layer_id=usdSimpleCube@
    ]
    upAxis = "Y"
)

According to my publish template, it should be

#usda 1.0
(
    defaultPrim = "hou_component_builder"
    metersPerUnit = 1
    subLayers = [
        @\\storage\work\ayon\RnD\features\hou_component_builder\publish\usd\usdSimpleCube\v010\componentoutput1.usd:SDF_FORMAT_ARGS:layer_id=usdSimpleCube@
    ]
    upAxis = "Y"
)

Expected Behavior

Contribution workflow should get the correct file names.

Steps To Reproduce:

  1. use a different publish template, steps.
  2. publish with contribution enabled.

Additional context:

Version

Version of the server, ayon-core and the addon that's affected

What platform were you running when you found the bug?

Windows

You can also provide any additional information relevant to the issue.

Relevant log output:

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions