OpenOffice 3 plugin error

"Basic runtime error.
Exception has occurred.
Type: com.sun.star.beans.UnknownPropertyException
Message: ."

Any solutions other than rolling back to OOo 2.4.1 until Zotero catches up?
  • I tried the solution from the Google group thread, and wasn't succesful.
    http://groups.google.com/group/zotero-dev/browse_thread/thread/b136f0182192233e/6194ed926d1906f1
    I guess I'll be reinstalling 2.4.1, then...
  • The fix works, pay attention to the syntax and typos

    In fact, the simple fix is to add a test in order to find if the property is available or not, and if not, then add a dummy one. In fact the code about does not have any capital so it may fail because of this, use the following lines and it will work.

    I'm pasting here what you need to copy to line 1818:

    #################################################################
    If Not thisComponent.DocumentInfo.PropertySetInfo.HasPropertyByName(sPropertyName) Then
    thisComponent.DocumentInfo.AddProperty(sPropertyName,0,"")
    Endif
    #################################################################

    And the proceed with the rest of the code:
    sPropertyValue = thisComponent.DocumentInfo.getPropertyValue(sPropertyName)
    If sPropertyValue = "" Then GoTo EndOfFunction
    fnGetProperty = fnGetProperty & sPropertyValue
    End If
    Wend
    EndOfFunction:
    Exit Function
    End Function

    Pay attention to the alignment, this box seems to not keep the format at all.
  • http://forums.zotero.org/discussion/4336/beta-openoffice-plugin/#Item_19
This discussion has been closed.