Forums / Developer / Bug in the admin interface?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Bug in the admin interface?

Author Message

luis muñoz

Wednesday 13 July 2005 9:35:01 am

From the admin, in the sub_items list, detailed view.

Modifier link takes me to the creator but shows the name of the last modifier.

When i edit the folder the info on the left about creator/modifier, i think isn't correct.

Can anyone confirm this, i'm not sure if my admin interface is broken or this is a bug.

Thanks

Daniel Beyer

Wednesday 13 July 2005 10:57:07 am

Hi Luis,

I confirm this as a bug. Can you please report it at http://ez.no/community/bugs !

--Issues and fixes--

<b>1. In design/admin/children_detailed.tpl:</b>
Wrong: Link to the modifier links to the creator of the current version of the current $node and not to the modifier of the child.
<i>How to fix this:</i>
In line 65 change from

<td class="modifier"><a href={$node.object.current.creator.main_node.url_alias|ezurl}>{$Nodes.item.object.current.creator.name|wash}</a></td>

In line 65 change to

<td class="modifier"><a href={$Nodes.item.object.current.creator.main_node.url_alias|ezurl}>{$Nodes.item.object.current.creator.name|wash}</a></td>

<b>2. In design/admin/content/edit_menu.tpl:</b>
Wrong: In "Object information" the name of creator is wrong. It's not the creator (owner) of the object, but the creator of the current published version.
<i>How to fix this:</i>
In line 22 change from

{$object.current.creator.name|wash}

In line 22 change to

{$object.owner.name|wash}

<b>3. In design/admin/content/edit_menu.tpl:</b>
Wrong: In "Object information" the name of the modifier is wrong. It's not the modifier of the current published object, but the modifer of the depending class.
<i>How to fix this:</i>
In line 33 change from

{fetch( content, object, hash( object_id, $object.content_class.modifier_id ) ).name|wash}

In line 33 change to

{$object.current.creator.name|wash}

Daniel Beyer
_________________________________
YMC AG
Kreuzlingen, Switzerland
web: www.ymc.ch
____________________________________

Daniel Beyer

Thursday 14 July 2005 3:42:25 am

Just in case someone reads this in future:

This bug is fixed in:
unstable/3.6.1 rev. 12518
unstable/3.7 rev. 12519
trunk rev. 12520

--- http://ez.no/bugs/view/6900 ---

Daniel Beyer
_________________________________
YMC AG
Kreuzlingen, Switzerland
web: www.ymc.ch
____________________________________