Administration


    Export error on blank property line  Nach oben

    • Hello Dev2Dev

      I've encountered an error when exporting source components from one of our projects.
      The project lists the first line of Properties as a blank line with no Name and no Value but Context as References.

      When exporting the whole list of properties, including the "blank" line, Oasis stops with an error 0: Variante des Typs (Null) konnte nicht in Typ (String) konvertiert werden.

      I'm pretty sure that means it can't convert the initial line set to Null, to a string.
      So far the work-around has been not to shamelesly press Ctrl-A to highlight all, but remove the blank line from the selection.

      Best regards,
      Filip Sondergaard
    • Dear Mr. Sondergaard,
      seems that you have some kind of 'corrupt' reference in your project.
      Can you try to delete this reference by a peace of code like the following?

      CodePublic Sub DeleteEmptyRefs()

      Dim i As Integer

      Dim ref As Reference



      For i = 1 To References.Count

      If References(i).Name = "" Then

      Set ref = References(i)

      References.Remove ref

      End If

      Next i



      End Sub


      I will catch this kind of error in the next version of OASIS.
    • 7 Gäste

    Diese Angaben basieren auf den Useraktivitäten der letzten 30 Minuten