Issue 1:
I'm experiencing an error with Symfony 2.2.3 (I had to move back to 2.2.2) when clearing cache

php app/console -v cache:clear

Clearing the cache for the dev environment with debug true

[Symfony\Component\DependencyInjection\Exception\InactiveScopeException]

You cannot create a service ("request") of an inactive scope ("request").

Exception trace:

() at /Users/patricklock/Sites/cplus-security/app/cache/de_/ap_DevDebugProjectContainer.php:2051

ap_DevDebugProjectContainer->getRequestService() at /Users/patricklock/Sites/cplus-security/app/bootstrap.php.cache:129

Symfony\Component\DependencyInjection\Container->get() at /Users/patricklock/Sites/cplus-security/app/cache/de_/ap_DevDebugProjectContainer.php:1544

ap_DevDebugProjectContainer->getFragment_HandlerService() at /Users/patricklock/Sites/cplus-security/app/bootstrap.php.cache:129

Symfony\Component\DependencyInjection\Container->get() at /Users/patricklock/Sites/cplus-security/app/cache/de_/ap_DevDebugProjectContainer.php:3324

ap_DevDebugProjectContainer->getTwigService() at /Users/patricklock/Sites/cplus-security/app/bootstrap.php.cache:129

Symfony\Component\DependencyInjection\Container->get() at /Users/patricklock/Sites/cplus-security/app/cache/de_/ap_DevDebugProjectContainer.php:307

ap_DevDebugProjectContainer->getAssetic_AssetManagerService() at /Users/patricklock/Sites/cplus-security/app/bootstrap.php.cache:129

Symfony\Component\DependencyInjection\Container->get() at /Users/patricklock/Sites/cplus-security/vendor/symfony/assetic-bundle/Symfony/Bundle/AsseticBundle/CacheWarmer/AssetManagerCacheWarmer.php:33

Symfony\Bundle\AsseticBundle\CacheWarmer\AssetManagerCacheWarmer->warmUp() at /Users/patricklock/Sites/cplus-security/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php:47

Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->warmUp() at /Users/patricklock/Sites/cplus-security/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php:117

Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->warmup() at /Users/patricklock/Sites/cplus-security/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php:83

Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->execute() at /Users/patricklock/Sites/cplus-security/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244

Symfony\Component\Console\Command\Command->run() at /Users/patricklock/Sites/cplus-security/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:899

Symfony\Component\Console\Application->doRunCommand() at /Users/patricklock/Sites/cplus-security/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:184

Symfony\Component\Console\Application->doRun() at /Users/patricklock/Sites/cplus-security/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:80

Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /Users/patricklock/Sites/cplus-security/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121

Symfony\Component\Console\Application->run() at /Users/patricklock/Sites/cplus-security/app/console:22

Issue 2:
Hi developpers, and many thanks for your great job on symfony.

Here is a bug I've notice on Symfony version 2.3.30

I have:

In my form class:

class FicheReperageMotifType extends AbstractType {

public function buildForm(FormBuilderInterface $builder, array $options) {
...
$options = array('label' => 'The label:');
$options['attr'] = array('rows' => '10', 'style' => "width:100%; display:block");
$builder->add("precisez", 'textarea', $options);
}
}

In my entity class:

/**
*
* @ORM\Column(name="precisez", type="string", length=5000, nullable=true)
*/
private $precisez;

In my twig template:

{{ form(form) }}

The final HTML render is:

<textarea id="FicheReperage_motif_precisez" name="FicheReperage[motif][precisez]" required="required" rows="10" style="width:100%; display:block">precisez</textarea>

As you can see the field is required, but nullable=true. Therefore this field should not be required.

If I leave symfony decide itself the field type by setting:

$options = array('label' => 'The label:');
$options['attr'] = array('rows' => '10', 'style' => "width:100%; display:block");
$builder->add("precisez", null, $options);

I have the following HTML render:

<input type="text" id="FicheReperage_motif_precisez" name="FicheReperage[motif][precisez]" maxlength="5000" rows="10" style="width:100%; display:block" value="precisez">

And this time it is correct.

Please let me know if you need more information.

Best regards,