2013-07-05 13 views
1

OpenCMIS를 사용하여 CMIS 서버를 작성하고 있습니다. 우리는 일부 다중 값 속성을 가진 새로운 문서 유형을 가지고 있습니다. 이제 "문서 작성"대화 상자를 열어 Workbench에 새 문서를 추가하려고했습니다. 이 대화 상자에는 필수 속성이 나열되어 있습니다. 그러나 다중 값을 입력하는 방법을 모르겠습니다. 나는 (예 : A, B, "A", "B", [ "A", "B"], 는 [B A] 등) 항상 오류가 있지만, 일부 구분을 시도 같이 표시CMIS workbench : 필수 다중 값이있는 문서 작성

IllegalArgumentException : 'xx : propIdXX'속성이 단일 값 속성이 아닙니다!

로그는 항목을 다음했습니다

18:46:54 ERROR hemistry.opencmis.workbench.ClientHelper: IllegalArgumentException: Property 'xx:propIdXX' is not a single value property! 
java.lang.IllegalArgumentException: Property 'xx:propIdXX' is not a single value property! 
    at org.apache.chemistry.opencmis.client.runtime.repository.ObjectFactoryImpl.convertProperties(ObjectFactoryImpl.java:437) 
    at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocument(SessionImpl.java:751) 
    at org.apache.chemistry.opencmis.workbench.model.ClientModel.createDocument(ClientModel.java:279) 
    at org.apache.chemistry.opencmis.workbench.CreateDocumentDialog$4.actionPerformed(CreateDocumentDialog.java:252) 
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) 
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) 
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) 
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) 
    at javax.swing.AbstractButton.doClick(AbstractButton.java:357) 
    at javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:191) 
    at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636) 
    at javax.swing.JComponent.processKeyBinding(JComponent.java:2851) 
    at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267) 
    at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:216) 
    at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928) 
    at javax.swing.JComponent.processKeyBindings(JComponent.java:2920) 
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2814) 
    at java.awt.Component.processEvent(Component.java:6040) 
    at java.awt.Container.processEvent(Container.java:2041) 
    at java.awt.Component.dispatchEventImpl(Component.java:4630) 
    at java.awt.Container.dispatchEventImpl(Container.java:2099) 
    at java.awt.Component.dispatchEvent(Component.java:4460) 
    at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848) 
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:704) 
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:969) 
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:841) 
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:668) 
    at java.awt.Component.dispatchEventImpl(Component.java:4502) 
    at java.awt.Container.dispatchEventImpl(Container.java:2099) 
    at java.awt.Window.dispatchEventImpl(Window.java:2475) 
    at java.awt.Component.dispatchEvent(Component.java:4460) 
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) 
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) 
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) 
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178) 
    at java.awt.Dialog$1.run(Dialog.java:1045) 
    at java.awt.Dialog$3.run(Dialog.java:1097) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at java.awt.Dialog.show(Dialog.java:1095) 
    at java.awt.Component.show(Component.java:1563) 
    at java.awt.Component.setVisible(Component.java:1515) 
    at java.awt.Window.setVisible(Window.java:841) 
    at java.awt.Dialog.setVisible(Dialog.java:985) 
    at org.apache.chemistry.opencmis.workbench.swing.CreateDialog.showDialog(CreateDialog.java:119) 
    at org.apache.chemistry.opencmis.workbench.CreateDocumentDialog.createGUI(CreateDocumentDialog.java:307) 
    at org.apache.chemistry.opencmis.workbench.CreateDocumentDialog.<init>(CreateDocumentDialog.java:84) 
    at org.apache.chemistry.opencmis.workbench.CreateDocumentDialog.<init>(CreateDocumentDialog.java:79) 
    at org.apache.chemistry.opencmis.workbench.ClientFrame$9.actionPerformed(ClientFrame.java:253) 
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) 

어떻게 다중 값의 형식?

답변

3

CMIS Workbench는 "문서 작성"대화 상자를 통해 필수 다중 값 특성이있는 문서를 작성할 수 없습니다. 그러나 Workbench '콘솔을 사용하여 그러한 문서를 작성하십시오.

+0

감사합니다. 나는 지금까지 콘솔을 사용 해본 적이 없다. – brgerner