Closed philipbaileynar closed 3 years ago
Agreed that we should have an error for this. If the layer being referenced was part of a view (or worse a default view) that's probably why we were having the mislead and subsequent 🦆 chase.
@philipbaileynar if you still have it can you attach the entire project xml to this ticket or provide a link to the RS warehouse project? We want to make sure we can repro fully
I don't think you need the project. It was a BL problem. But it is attached anyway.
Thanks. We can also build checks for empty xpaths into the python validator. Might save us even having this problem again
The following VBET business logic error was causing the entire project to not load at all. Notice the empty
xpath
attribute:QRAVE needs to be able to handle this more elegantly. Correct behaviour should be to raise a warning and continue loading, skipping the offending layer in question.
The error I was getting mentioned
default_view
, a complete red herring. Took me an hour to tediously comment out lines in the business logic until I found the problem!