Skip to content

Metadata inconsistency on PROD #410

Closed
@maxceem

Description

@maxceem

I've noticed that there is generic product category missed on PROD, while many Product Templates use it.

So when I'm trying to recreate demo data locally using data from PROD by npm run demo-data, I get the next errors:

Failed to create productTemplate with id=25. Category not found for key "generic"
Failed to create productTemplate with id=22. Category not found for key "generic"
Failed to create productTemplate with id=11. Category not found for key "generic"
Failed to create productTemplate with id=18. Category not found for key "generic"
Failed to create productTemplate with id=21. Category not found for key "generic"
Failed to create productTemplate with id=17. Category not found for key "generic"
Failed to create productTemplate with id=15. Category not found for key "generic"
Failed to create productTemplate with id=19. Category not found for key "generic"
Failed to create productTemplate with id=12. Category not found for key "generic"
Failed to create productTemplate with id=10. Category not found for key "generic"
Failed to create productTemplate with id=13. Category not found for key "generic"
Failed to create productTemplate with id=27. Category not found for key "generic"
Failed to create productTemplate with id=23. Category not found for key "generic"
Failed to create productTemplate with id=14. Category not found for key "generic"
Failed to create productTemplate with id=8. Category not found for key "generic"
Failed to create productTemplate with id=3. Category not found for key "generic"
Failed to create productTemplate with id=7. Category not found for key "generic"
Failed to create productTemplate with id=1. Category not found for key "generic"
Failed to create productTemplate with id=20. Category not found for key "generic"
Failed to create productTemplate with id=16. Category not found for key "generic"
Failed to create productTemplate with id=5. Category not found for key "generic"
Failed to create productTemplate with id=6. Category not found for key "generic"
Failed to create productTemplate with id=4. Category not found for key "generic"

I guess we should create a Product Category with generic key, or update all these templates to use another category instead.

cc @vikasrohit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions