星期四, 3月 08, 2012

[Alfresco] 模擬上傳大頭照發生錯誤


11:24:45,307  ERROR [node.integrity.IntegrityChecker] Found 1 integrity violations:
Invalid property value:
   Node: workspace://SpacesStore/f07b92c9-e188-4991-b55d-eef404d60eda
   Type: {http://www.alfresco.org/model/content/1.0}content
   Property: {http://www.alfresco.org/model/content/1.0}name
   Constraint: 02090038 Value '?????????????????????.png' is not valid as a file name.
This property must be a valid file name.

很明顯又是中文亂碼的問題,查了一下就是在Multipart/data-form的時候,
使用getbytes的方法時,未指定utf-8編碼,導致抓的預設編碼跟自已的VM環境不一致而產生的錯誤。

沒有留言:

張貼留言

留個話吧:)

其他你感興趣的文章

Related Posts with Thumbnails