8 Replies Latest reply on Mar 19, 2015 11:06 PM by Steve Harman

    ORM 5.0.25 Can't find variable: Opal

    Chris Child

      Hi all,

       

      I posted an issue related to this before the holidays but the discussion strayed way off from what I was trying to find a solution for so I'm posting a new topic.

       

      We just switched to the new 5.0 SP1 or 5.0.25 release as it provided us with a fix to an issue with Windows Desktop touch functionality. In doing so though it looks like a new issue has risen with the ORM functionality. In the logs I see the following message right after the call to my ORM function.

       

      ReferenceError: Can't find variable: Opal

       

      Which is coming from rhoapi-modules-ORM.js line 422.

       

      In case it is needed here is my call to the ORM:

       

      Rho.ORM.addModel(function(model) {

                  model.modelName("Order");

                  model.enable("sync");

                  model.property("LI_Date","string");

                  model.property("LI_OrderId","string");

                  model.set("partition", "order");

              });

       

      Thanks

       

      Chris