Thank you Erel.
We all agree that it was not a bug. I clearly stated it as the first sentence of my original post.
Maybe a code snippet it's the way to go. That way a few lines would suffice to highlight the difference between enviroments.
BTW, that particular static module was where all my DB related subs were (traditionally) stored. Converting it to a class will take no time; there's nothing special in it, just functions called from Activities (old programs) and B4xPages (new programs).
It remained behind only because a simple copy&paste from an eralier app was the quickest way to start. After converting, next copy&paste will have a class instead of a code module.
Same project starting time, better set up