Henk Hangyi <[EMAIL PROTECTED]> wrote:
> When i use posrel to connect objects with the object channel from the
> community application, i receive the error messages listed below.
> However sometimes the relation is established, sometimes not ...
> 
> I tried it out for the objects "page" and "article" and both result in
> the same error-message. It does not make a difference whether i use the
> JSP-editors or the editwizard: it results in the same error.
> 
> When i use related/insrel to connect objects to the object channel i do
> NOT get this error.
> 
> Did anybody run in to this behavior before? Does anybody has a clue
> where the error message comes from?

I do not know what exaclty is happening to you, but I do understand
the errors and warnings.

> -------------------------
> Warnings and error received when connecting an object to channel via
> posrel:
> 
> 
> 2003-03-07 13:59:47,376 WARN  jsp.taglib.typehandler.EnumHandler
> - java.util.MissingResourceException: Can't find bundle for base name
> org.mmbase.bridge.jsp.taglib.typehandler.resources.channelopen, locale
> en


This means just what it sais, the resource 'channelopen' is
missing. But in fact this is the last resort to handle an integer of
unknown guitype. In the Community application likely channelopen
is mentioned as a guitype for a field.

This can be reported as a bug. The fix would be to change to guitype
and / or implement the resource. 

> 2003-03-07 13:59:47,376 WARN  jsp.taglib.typehandler.EnumHandler
> - java.util.MissingResourceException: Can't find bundle for base name
> org.mmbase.bridge.jsp.taglib.typehandler.resources.channellogin, locale
> en

Same goes for this.

A work-around can by the way be applied by creating a property-file like
WEB-INF/classes/org/mmbase/bridge/jsp/taglib/typehandler/resources/channellogin.property
contain the possible values for the channellogin field connected to
the user-visible strings.

This is not a nice location though (since community is obviously a
application and its specific resources should be in
org/mmbase/applications/community/resources or something like that).



> 2003-03-07 13:59:56,485 ERROR mmbase.module.core.MMObjectBuilder
> - basicSearch(): ERROR in search SELECT * FROM install_reldef WHERE
> builder=38 : java.sql.SQLException: Column not found: Unknown column
> 'builder' in 'where clause'
>       at org.gjt.mm.mysql.MysqlIO.sendCommand(Unknown Source)


This means generaly that the builder xml is not in accordance with the
database table.

I think you have a very old database installation (1.4?) in which the
column 'builder' was still lacking in the reldef table.

Try doing an alter table to fix this (alter table  install_reldef add
builder int(11);).


> 2003-03-07 13:59:56,485 WARN  mmbase.module.corebuilders.InsRel  - Can
> not determine default reldef for (posrel)

This is likely a consequence of the error before this.



 Michiel


-- 
mihxil'  Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
[]() 

Reply via email to