RhoMobile 5.0.25 ORM Issue

C Chris Child 3 years ago
0 1 0

Hello all,

I just updated to the most recent release of Rho, 5.0.25, due to a fix that was implemented for Windows OS based applications. After confirming the fix I then tried to run my app to make sure that everything else was still working and I've run into an issue with the ORM. I'm not seeing any errors in the logs. I've set logging to 0 or trace in rhoconfig.txt. The only reason I know that it is the ORM that is causing the problem is because I've put alerts before the ORM call and after. Here is the code and the imports:

    
   
   
   
   
   
   
      
        $(document).ready(function() {
            alert("before");
            Rho.ORM.addModel(function(model) {
                 model.modelName("User");
                 model.enable("sync");
                 model.property("username","string");
                 model.property("password","string");
                 model.property("localLogin","float");
                 model.property("activeUser","float");
                 model.set("partition", "credentials");
            });
            alert("after");          
     });

I've looked through the ORM documentation and did not notice any changes that should affect my work. If it matters I've only tried my app via the simulator so far.

Thanks

Chris

Please register or login to post a reply

1 Replies

M Mark Nongkhlaw

Hi Chris,

When you say windows based applications, do you mean WM or WP or something else?

What is the fix in 5.0.25 all about?

CONTACT
Can’t find what you’re looking for?