Nuxeo mailing list archives
[CPS-users] Unknown render method
Georges Racinet
gracinet at nuxeo.com
Thu Oct 19 16:54:17 CEST 2006
On Oct 19, 2006, at 4:31 PM, Mário Valente wrote:
>
>>> After some install/uninstall/reinstall operations with the
>>> portal_quickinstaller (in CPS 3.3.8), we started getting
>>> messages of
>>> this sort:
>>>
>>> RuntimeError: Unknown Render Method widget_text_render for widget
>>> type w__Description
>>> Unknown Validate Method widget_textimage_prepare_validate for
>>> widget
>>> type Text Image Widget
>>> RuntimeError: Unknown Render Method widget_link_render for widget
>>> type w__Link
>>>
>>>
>>> Any thoughts on what the cause might be? What can be done to
>>> solve
>>> the problem? Its stopping us from acessing some of our
>>> (CPS)documents...
>
>> Check that the skins layer portal_skins/cps_schemas is still there
>>
>
> It was...
>
>> and still referenced (portal_skins, properties tab)
>>
>
> It wasnt.. replacing the references with the old references solved
> most of the problems. Thanks.
>
> In certain documents I'm still getting this message:
>
> "Unknown Validate Method None for widget type Link Widget"
>
> The Link Widget under portal_widget_types does have a Prepare
> & Validate method of None.... Should it stay that way? Should it
> be something else?
It probably shouldn't stay that way. Maybe you should compare with a
stock CPS Default site ?
>
>
>> Try and access those page templates from url to check that there
>> are >really missing:
>> http://mysite.net/widget_text_render/manage, for instance
>>
>
>
> If you mean accessing the several render methods/ZPs under
> portal_skins/cps_schemas.... yes they are all there and are
> accessible...
It's a bit more than that, the kind of url I wrote is a stronger test
(it's almost like the lookup done from the widget code): there is no
portal_skins in url, which means that the acquisition engine will
have some work to do
By the way, it's a good test to know for sure which version of a
templates/script is actually used by the application in case you have
overrides.
>
> -- MV
>
>
>
>
---------
Georges Racinet, Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40
33 79 87
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.