Serhij Dubyk*Сергій Дубик ha scritto:
> 2009-05-06 14:15:46,107 DEBUG org.dspace.storage.rdbms.DatabaseManager @
> Running query "INSERT INTO metadatavalue (
> metadata_field_id,text_lang,text_value,item_id,metadata_value_id,place)
> VALUES ( ?,?,?,?,?,?)"
> 2009-05-06 14:15:46,127 DEBUG org.dspace.storage.rdbms.DatabaseManager @
> Running query "INSERT INTO metadatavalue (
> metadata_field_id,text_lang,text_value,item_id,metadata_value_id,place)
> VALUES ( ?,?,?,?,?,?)"
> 2009-05-06 14:15:46,159 ERROR
> org.dspace.app.webui.servlet.SubmissionController @ Error loading step
> class'org.dspace.submit.step.DescribeStep':
> org.postgresql.util.PSQLException: ERROR: value too long for type character
> varying(24)
> ...
>       at
> org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1355)
>       at
> org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:666)
>       at org.dspace.content.MetadataValue.create(MetadataValue.java:253)
>       at org.dspace.content.Item.update(Item.java:1652)
>       at org.dspace.content.WorkspaceItem.update(WorkspaceItem.java:511)
>       at 
> org.dspace.submit.step.DescribeStep.doProcessing(DescribeStep.java:293)
>       at
> org.dspace.app.webui.submit.JSPStepManager.doStepEnd(JSPStepManager.java:429)
>       at
>   
It seems as if the language of the metadata is too long... but this
should not happens because the language is hardcoded as "null" or "en"
on rendering basis (text, name, date, etc.)
Do you have customized the DescribeStep?

Andrea

-- 
Dott. Andrea Bollini
Project Manager, IT Architect & Systems Integrator
Sezione Servizi per le Biblioteche e l'Editoria Elettronica
CILEA, http://www.cilea.it
tel. +39 06-59292853
cel. +39 348-8277525

---

Disclaimer: the content of this email is confidential and may be privileged, 
and it must not be disclosed or copied without the sender's consent. If you 
have received this message in error, please notify the sender and remove it 
from your system. The content of this email does not constitute legal advice, 
nor any responsibility is accepted for loss or damage incurred as a result of 
acting upon its contents or attachments. 
The statements and opinions expressed in this email are those of the author and 
do not necessarily reflect those of the employer.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to