[BUG] [BoltForms 4] Saving to content type not working properly

Open
#170 1 comment 0 reactions 1 assignee View on GitHub

@rossriley is already working on this.

Since Aug 7, 2017.

Assessment

This issue has not been assessed yet.

Description

When saving a form to a content type the content type is saved correctly but two things happen:

  • The content type is always set as published, no matter what default status is set on the contenttypes.yml file.
  • If notifications are enabled the following error is thrown:

Twig_Error_Runtime in Template.php line 230: An exception has been thrown during the rendering of a template ("Bolt\Extension\Bolt\BoltForms\Config\Form\FieldOptionsBag ") in "@BoltForms/email/_blocks.twig" at line 4.

Details

  • Relevant Bolt Version: [ 3.3 ]
  • Install type: [ Composer install ]
  • PHP version: [ 7.0 ]
  • Used web server: [ Apache ]
Dominant language
PHP
Stars
52
Forks
54
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bolt/boltforms

All issues in bolt/boltforms

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.