[Dspace-tech] Error during submiting (1.5.2)

2009-05-08 Thread Serhij Dubyk*Сергі й Дубик

Hi all

We migrate from DSpace 1.5.0 to 1.5.2. 
Most function tested and work good.

But when submitting item to collection from step 2 to 3
we have Internal system error

DSpace log for this action:


2009-05-06 14:15:46,026 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query SELECT * FROM epersongroup2eperson WHERE eperson_id= ?  with
parameters: 1
2009-05-06 14:15:46,028 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query SELECT * FROM group2groupcache WHERE child_id= ?  OR
child_id= ?  OR child_id= ?  OR child_id= ?   with parameters: 0,1,2,4
2009-05-06 14:15:46,031 DEBUG org.dspace.app.webui.servlet.DSpaceServlet @
serhijdu...@tstu.edu.ua:session_id=2437AA8D1360DDF8FAB664C023B05153:ip_addr=192.168.103.42:http_request:--
URL Was\colon; http\colon;//elartu.tstu.edu.ua/submit
-- Method\colon; POST
-- Parameters were\colon;
-- dc_title\colon; рол
-- page\colon; 1
-- dc_publisher\colon; Тернопільський державний технічний університет ім.
Івана Пулюя
-- dc_identifier_qualifier_2\colon; issn
-- dc_relation_ispartofseries_number_1\colon; 
-- dc_identifier_qualifier_1\colon; issn
-- step\colon; 2
-- dc_relation_ispartofseries_series_1\colon; 
-- workspace_item_id\colon; 99
-- jsp\colon; /submit/edit-metadata.jsp
-- dc_contributor_author_last_1\colon; рол
-- dc_subject_udc_1\colon; 
-- dc_identifier_value_2\colon; 
-- dc_date_issued_year\colon; 2009
-- dc_identifier_value_1\colon; 1727-7108
-- submit_next\colon; Далі 
-- dc_date_issued_day\colon; 
-- dc_title_alternative_1\colon; рпол
-- dc_identifier_citation\colon; Прізвище І.Б., Прізвище І.Б.
ХХНАЗВАХ // Вісник ТДТУ. – 2009. - Том 14. - №1. – ст.. ХХ-ХХ. –
(хсекціяхх).
-- dc_language_iso\colon; uk
-- dc_contributor_author_first_1\colon; рол
-- dc_date_issued_month\colon; -1
-- dc_subject_bbk_1\colon; 
-- dc_type\colon; Article

2009-05-06 14:15:46,032 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query select * from workspaceitem where workspace_item_id = ?  
with parameters: 99
2009-05-06 14:15:46,033 DEBUG org.dspace.content.WorkspaceItem @
serhijdu...@tstu.edu.ua:session_id=2437AA8D1360DDF8FAB664C023B05153:ip_addr=192.168.103.42:find_workspace_item:workspace_item_id=99
2009-05-06 14:15:46,033 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query select * from item where item_id = ?   with parameters: 106
2009-05-06 14:15:46,035 DEBUG org.dspace.content.Item @
serhijdu...@tstu.edu.ua:session_id=2437AA8D1360DDF8FAB664C023B05153:ip_addr=192.168.103.42:find_item:item_id=106
2009-05-06 14:15:46,035 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query SELECT * FROM MetadataValue WHERE item_id= ? ORDER BY
metadata_field_id, place  with parameters: 106
2009-05-06 14:15:46,037 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query SELECT handle FROM Handle WHERE resource_type_id = ? AND
resource_id = ?  with parameters: 2,106
2009-05-06 14:15:46,038 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query select * from collection where collection_id = ?   with
parameters: 16
2009-05-06 14:15:46,039 DEBUG org.dspace.content.Collection @
serhijdu...@tstu.edu.ua:session_id=2437AA8D1360DDF8FAB664C023B05153:ip_addr=192.168.103.42:find_collection:collection_id=16
2009-05-06 14:15:46,039 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query select * from item where item_id = ?   with parameters: 99
2009-05-06 14:15:46,041 DEBUG org.dspace.content.Item @
serhijdu...@tstu.edu.ua:session_id=2437AA8D1360DDF8FAB664C023B05153:ip_addr=192.168.103.42:find_item:item_id=99
2009-05-06 14:15:46,041 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query SELECT * FROM MetadataValue WHERE item_id= ? ORDER BY
metadata_field_id, place  with parameters: 99
2009-05-06 14:15:46,042 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query SELECT handle FROM Handle WHERE resource_type_id = ? AND
resource_id = ?  with parameters: 2,99
2009-05-06 14:15:46,043 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query select * from epersongroup where eperson_group_id = ?   with
parameters: 26
2009-05-06 14:15:46,044 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query select * from epersongroup where eperson_group_id = ?   with
parameters: 27
2009-05-06 14:15:46,045 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query SELECT handle FROM Handle WHERE resource_type_id = ? AND
resource_id = ?  with parameters: 3,16
2009-05-06 14:15:46,046 DEBUG org.dspace.app.util.SubmissionInfo @ Loading
Submission Config information
2009-05-06 14:15:46,047 DEBUG org.dspace.app.util.SubmissionInfo @ Found
Submission Config in session cache!
2009-05-06 14:15:46,047 DEBUG org.dspace.app.util.SubmissionInfo @ Loading
Progress Bar Info
2009-05-06 14:15:46,047 DEBUG org.dspace.app.util.SubmissionInfo @ Found
Progress Bar Info in cache: 7 pages to display in progress bar

Re: [Dspace-tech] Error during submiting (1.5.2)

2009-05-08 Thread Andrea Bollini
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