3 Replies Latest reply on Jun 16, 2010 12:54 PM by areohbee

    Bug: catalog.getCurrentViewFilter () raises assertion error

    johnrellis Most Valuable Participant

      Using the Lightroom 3 SDK, the following code fragment:


      LrApplication.activeCatalog().getCurrentViewFilter ()


      results in the following error message:


      “An internal error has occurred: assertion failed!”


      The error still occurs if you call it from within a task and function context:


      LrFunctionContext.postAsyncTaskWithContext ("test", function (context)
          LrDialogs.attachErrorDialogToFunctionContext (context)
          LrApplication.activeCatalog().getCurrentViewFilter ()


      I tried invoking it with the view filters on and off and still got the error.


      Any thoughts?  I've reported it as a possible bug via the support form.