Resource ids buf must be allocated for the worst case scenario. Also fix issue with non procedural data overriding procedural view.
Resource ids buf must be allocated for the worst case scenario. Also fix issue with non procedural data overriding procedural view.