I'm currently adding a method to test selected layers before validating the list.
Nicolas On 28 December 2015 at 13:26, Nicolas Ribot <nicolas.ri...@gmail.com> wrote: > 1. >> would you mind cleaning that up? >> > > Done. > >> >> 2. >> btw. what is state of the layer removal in the ImageRenderer in case of >> datastore error? is that implemented properly by now? >> >> > Had some difficulties to find the right place to intercept errors, > especially because WHERE clause is tested only after the selected layers > are added to list of layers. > There are also 2 kinds of errors that can occur: > • A wrong WHERE clause is entered for a datasource > • A bad database layout, invalid DB types or other SQL-related error: in > this case, the layer is already added to OJ, with just a warning displayed > in the status bar: the layer is invalid, but still there in layer panel. > One have to manually remove it. > I think a more visible error handling would be valuable: like an error > message popup. > > Nicolas >
------------------------------------------------------------------------------
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel