Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-494

ArgumentOutOfRange with SQLite

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.14
    • 1.2.15
    • Appenders, Other
    • Windows, .Net visual studio project
    • Patch, Important

    Description

      In AdoNetAppender.cs at line 561 :
      param.FormatValue(dbCmd, e);

      In SQLite we need to call the Prepare function before FormatValue :
      param.Prepare(dbCmd);

      If Prepare not called, then SQLite generate an ArgumentOutOfRangeException because the parameters is not defined

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nachbarslumpi Dominik Psenner
            Smax Maximilien Moussalli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

              Slack

                Issue deployment