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

Error when overwriting block tabs #3101

Closed
iskrisis opened this issue Jan 23, 2021 · 1 comment · Fixed by #3102
Closed

Error when overwriting block tabs #3101

iskrisis opened this issue Jan 23, 2021 · 1 comment · Fixed by #3102
Assignees
Labels
type: bug 🐛 Is a bug; fixes a bug
Milestone

Comments

@iskrisis
Copy link

When setting tab: false in extended block blueprint:
blocks/text.yml

name: Text
tabs:
  content:
    fields:
      text:
        type: text
  test:
    fields:
      test:
        type: text

blocks/test.yml

extends: blocks/text
name: Test
tabs:
  test: false

Error happens
Return value of Kirby\Cms\Blueprint::extend() must be of the type array, bool returned kirby/src/Cms/Blueprint.php line: 199

@afbora afbora added the type: bug 🐛 Is a bug; fixes a bug label Jan 23, 2021
@afbora afbora added this to the 3.5.2 milestone Jan 23, 2021
@afbora afbora self-assigned this Jan 23, 2021
afbora added a commit that referenced this issue Jan 23, 2021
@afbora afbora linked a pull request Jan 23, 2021 that will close this issue
4 tasks
bastianallgeier added a commit that referenced this issue Jan 25, 2021
@bastianallgeier
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Is a bug; fixes a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants