I had the same problem - and I found a solution. I believe your problem is that in your initial โTestViewโ, the attribute names are actually m.ROWID , m.Fullmodel , etc. Instead of just ROWID , Fullmodel , etc.
A casual look at the views through the SQL manager will not show m. attached to the front of each field name. If you run the Pragma PRAGMA table_info TestView , attribute extensions will be expanded.
So, change your TestView request to
CREATE VIEW TestView AS SELECT m.ROWID as ROWID, m.MRTarget_id as MRTarget_id,... etc
and your second Create View request should succeed - at least that was in my application.
source share