Re: Upgrade 4.2.0_01 fields not updating

Benjamin Papez <[email protected]> Mon, 13 Aug 2007 11:22:27 +0200
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi Graham,

indeed there is a bug in the UpdateField_Engine, which has been fixed
with the revision 17871 of UpdateField_Engine.java. In case you are not
compiling Jahia on your own, I attach a compiled
UpdateField_Engine.class, you could deploy to jahia\WEB-INF\classes.
Don't forget to remove it, when you will switch to a future Jahia
version, service pack or perhaps nightly build.

Greetings,

Benjamin

PS: By the way: Fields without containers have been deprecated in Jahia
5 and will be completely disabled in a future Jahia release.

Graham Honey schrieb:

Hi
all,

We
are in the process of implementing the 4.2.0_1 upgrade and have found
that the following examples below no longer update when edited and
constantly displays the default values. Has anyone else received a
similar issue and more importantly does anyone know the issue and how
to resolve it?

Example field:

<h3><jahia:textField name="pageTitle" title="PageTitle"
value="Browse education topics" />

<jahia:updateFieldButton title="<img
src=\"images/update.gif\" width=\"11\" height=\"11\" border=\"0\"
alt=\"E\"/>" field="pageTitle"/>

</h3>

or

<content:declareField
name="searchPage" title="Search page" type="Page" />

<jahia:ifEditMode>

<h3 style="color: #900;">Compulsory template settings</h3>

<jahiaHtml:actionMenu name="searchPage" namePostFix=""
resourceBundle="jahiatemplates.Corporate_portal_templates"
useFieldSet="false" >

<p>Search page used:

<content:pageField
name="searchPage" id="searchPage" valueId="searchPageVal">

<logic:notEmpty name="searchPageVal">

<a href="<bean:write name='searchPageVal'
property='url'/>">

<bean:write name='searchPageVal' property="title"
filter='false'/>

</a>

</logic:notEmpty>

<logic:empty name="searchPageVal">

<span style="color:#900;font-weight:bold;">Not
set</span>

</logic:empty>

<jahia:updateFieldButton field="searchPage" title="<img
src='/images/update.gif' width='11' height='11' border='0' alt='Update
Search page URL' />" />

</content:pageField>

</p>

</jahiaHtml:actionMenu>

</jahia:ifEditMode>

which
gives the following error message: ERROR
[org.jahia.taglibs.html.actions.ActionMenuTag] - Couldn't find any
object with name searchPage

Many
thanks in advance.

Graham

IMPORTANT:
This e-mail, including any attachments, may contain private or
confidential information. If you think you may not be the intended
recipient, or if you have received this e-mail in error, please contact
the sender immediately and delete all copies of this e-mail. If you are
not the intended recipient, you must not reproduce any part of this
e-mail or disclose its contents to any other party. This email
represents the views of the individual sender, which do not necessarily
reflect those of education.au limited except
where the sender expressly states otherwise. It is your responsibility
to scan this email and any files transmitted with it for viruses or any
other defects. education.au limited will not
be liable for any loss, damage or consequence caused directly or
indirectly by this email.

----------

_______________________________________________
dev_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list

_______________________________________________
dev_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list
UpdateField_Engine_r17671.zip (application/x-zip-compressed, 8.5 KB) - not displayed