<p dir="auto">After upgrade from 2.4.10 to 2.5.6 I've got error</p>
<p dir="auto"><em>Variable "welcome_title" does not exist ...</em></p>
<p dir="auto">config.yml</p>
<div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="twig:
    globals:
        welcome_title: Welcome!"><pre class="notranslate"><span class="pl-ent">twig</span>:
    <span class="pl-ent">globals</span>:
        <span class="pl-ent">welcome_title</span>: <span class="pl-s">Welcome!</span></pre></div>
<p dir="auto">After investigation I've found difference in the app/cache/dev/appDevDebugProjectContainer.php</p>
<p dir="auto"><strong>2.4.10</strong></p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="... 
$instance-&gt;addGlobal('app', $this-&gt;get('templating.globals'));
$instance-&gt;addGlobal('welcome_title', 'Welcome!');

return $instance;"><pre class="notranslate"><span class="pl-c1">.</span>.<span class="pl-c1">.</span> 
<span class="pl-s1"><span class="pl-c1">$</span>instance</span>-&gt;<span class="pl-en">addGlobal</span>(<span class="pl-s">'app'</span>, <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-en">get</span>(<span class="pl-s">'templating.globals'</span>));
<span class="pl-s1"><span class="pl-c1">$</span>instance</span>-&gt;<span class="pl-en">addGlobal</span>(<span class="pl-s">'welcome_title'</span>, <span class="pl-s">'Welcome!'</span>);

<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>instance</span>;</pre></div>
<p dir="auto"><strong>2.5.x</strong> (I've tried few version: 2.5.1, 2.5.4, , 2.5.6)<br>
only</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="...
$instance-&gt;addGlobal('app', $this-&gt;get('templating.globals'));

return $instance;"><pre class="notranslate"><span class="pl-c1">.</span>.<span class="pl-c1">.</span>
<span class="pl-s1"><span class="pl-c1">$</span>instance</span>-&gt;<span class="pl-en">addGlobal</span>(<span class="pl-s">'app'</span>, <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-en">get</span>(<span class="pl-s">'templating.globals'</span>));

<span class="pl-k">return</span> <span class="pl-s1"><span class="pl-c1">$</span>instance</span>;</pre></div>
<p dir="auto">Bug?<br>
Suggestions?</p>
<p dir="auto">When rendering a <em>Date</em> field type using a <em>Choice</em> widget the value field e.g. 1901 is correct but the text part is empty.</p>
<div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;option value=&quot;1900&quot;&gt;&lt;/option&gt;
&lt;option value=&quot;1901&quot;&gt;&lt;/option&gt;
&lt;option value=&quot;1902&quot;&gt;1902&lt;/option&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">option</span> <span class="pl-c1">value</span>="<span class="pl-s">1900</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">option</span><span class="pl-kos">&gt;</span>
<span class="pl-kos">&lt;</span><span class="pl-ent">option</span> <span class="pl-c1">value</span>="<span class="pl-s">1901</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">option</span><span class="pl-kos">&gt;</span>
<span class="pl-kos">&lt;</span><span class="pl-ent">option</span> <span class="pl-c1">value</span>="<span class="pl-s">1902</span>"<span class="pl-kos">&gt;</span>1902<span class="pl-kos">&lt;/</span><span class="pl-ent">option</span><span class="pl-kos">&gt;</span></pre></div>
<p dir="auto">This is most obvious when using a Birthday field as it by default starts 120 years ago.</p>
<p dir="auto">Symfony 2.1.2<br>
PHP 5.4.6</p>