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

Pull/Push components does not sync the component_group_whitelist correctly since 3.33.0 #117

Open
royvou opened this issue Sep 13, 2024 · 2 comments
Labels
bug Something isn't working pending-triage [Issue] Ticket is pending to be prioritised

Comments

@royvou
Copy link
Contributor

royvou commented Sep 13, 2024

Current behavior:
When using version 3.33.0 or higher and syncing components via the pull/push components command, the component_group_whitelist does not get updated, resulting in an user not being able to select any block.

Expected behavior:
When using the pull/push components commands to sync blocks, they keep the component_group_whitelist

Steps to reproduce:

  • Create a block folder blockFolder1
  • Create one block of type universal
    • create a block called block1 with 1 Blocks field called field1, whitelist blocks fromt he blockFolder
  • Create one block of type nestable block
    • create a block called block2 and put it in the blockFolder1
  • Create a story based on block1 and in field1 try to create a new block
  • Run the following script between multiple spaces (use the correct source/target)
DEV=1
PRD=2

storyblok pull-components --space $DEV
storyblok push-components --space $PRD ./components.$DEV.json --presets-source ./presets.$DEV.json
  • Go

Other information:

in the old version source_uuid was added during sync to correctly map the block (Using the getGroupByUuid) but source_uuid is now never generated/mapped anymore

@royvou royvou added the bug Something isn't working label Sep 13, 2024
@alvarosabu alvarosabu added the pending-triage [Issue] Ticket is pending to be prioritised label Sep 17, 2024
@privetkuku
Copy link

+1

@privetkuku
Copy link

@alvarosabu, hello, Alvaro! Any news on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending-triage [Issue] Ticket is pending to be prioritised
Projects
None yet
Development

No branches or pull requests

3 participants