Changeset 29042

Show
Ignore:
Timestamp:
01/15/08 10:51:40 (11 months ago)
Author:
dmihalache
Message:

PATXT-46: "Index" document type - publish method on the server side - casting fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • org.nuxeo.ecm.core/trunk/nuxeo-core-api/src/main/java/org/nuxeo/ecm/core/api/impl/DocumentModelImpl.java

    r28933 r29042  
    11611161            Type ftype = lfield.getType(); 
    11621162            List<Object> list = null; 
    1163             if (ftype.isSimpleType()) { // these are stored as arrays 
     1163            //if (ftype.isSimpleType()) { // these are stored as arrays 
     1164            if (value instanceof Object[]) { // these are stored as arrays 
    11641165                list = Arrays.asList((Object[]) value); 
    11651166            } else {