https://bugs.documentfoundation.org/show_bug.cgi?id=146281

--- Comment #11 from Jean-Pierre Ledure <j...@ledure.be> ---
(In reply to Julien Nabet from comment #4)
> (In reply to Robert Großkopf from comment #3)
> > (In reply to Julien Nabet from comment #2)
> > > 
> > > Did I miss something?
> > 
> > Could be you got an extension called basedocumenter.oxt. Seems it must be
> > written BaseDocumenter.oxt. Another bug?
> 
> No I got BaseDocumenter.oxt with right uppercase/lowercase.
> Digging a bit more, I found doc about Access2Base
> http://www.access2base.com/access2base.html and added DBOpen macro.
> But I got an abort.
> 
> Jean-Pierre: trying to debug, I got an abort here:
> Public Function _CheckArgument(pvItem As Variant _
> , ByVal piArgNr As Integer _
> , Byval pvType As Variant _
> , ByVal Optional pvValid As Variant _
> , ByVal Optional pvError As Boolean _
> ) As Variant
> '     Called by public functions to check the validity of their arguments
> 'pvItem                               Argument to be checked
> 'piArgNr                              Argument sequence number
> 'pvType                               Single value or array of allowed 
> variable types
> '     If of string type must contain one or more valid pseudo-object types
> 'pvValid      Single value or array of allowed values - comparison for 
> strings is
> case-insensitive
> 'pvError      If True (default), error handling in this routine. False in
> _setProperty methods in class modules.
> 
>       _CheckArgument = False
>       
> Dim iVarType As Integer, bValidIsMissing As Boolean
> If IsArray(pvType) Then iVarType = VarType(pvType(LBound(pvType))) Else
> iVarType = VarType(pvType)
> If iVarType = vbString Then ' pvType is a pseudo-type string
>       _CheckArgument = Utils._IsPseudo(pvItem, pvType)
> Else
>       bValidIsMissing = ( VarType(pvValid) = vbError ) <==== HERE
> 
> I think it's because pvValid is empty
> 
> I found this commit:
> 57666b8ba70f27c7250ef32f4cb9e7660e258521
> Access2Base - tdf#136063 Workaround Basic missing argument handling (2)
> 
> But reading tdf#136063, it seems a proper fix has been done with tdf#136143.
> 
> Shouldn't revert the fix for tdf#136063 ?

I could not reproduce above error in

Version: 7.2.4.1 / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 6; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: fr-BE (en_US.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to