The other problem with your suggestion is that we are changing model data
in the view, which seems likely to come back and bite us.  That's why I
cloned xmldata in the first place rather than supplying blank fields.
On May 12, 2014 2:44 PM, "Nikolai Plath" <notifications@github.com> wrote:

> In administrator/templates/hathor/html/com_templates/templates/default.php:
>
> > @@ -80,6 +80,21 @@
> >  		<tbody>
> >  		<?php foreach ($this->items as $i => $item) : ?>
> >  			<tr class="row<?php echo $i % 2; ?>">
> > +		            <?php
> > +		                    if (!$item->xmldata){
> > +		                        $xmldata = new JObject;
>
> JObject is somewhat deprecated, although there is no @deprecated tag..
>
> What if you just do a
>
> if (!$item->xmldata){
>    $item->xmldata = new JRegistry;}
>
> That would just display empty fields, without warnings ;)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/joomla/joomla-cms/pull/3589/files#r12546406>
> .
>