Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Testing a DataModel

Go to End

2 Posts   606 Views


Community Member, 3 Posts

3 August 2013 at 11:46pm

I've started writing a new module to use in SS 3.1.x, and I'm now at the point where I'm starting to test various bits of functionality, however I'm running into a problem, when trying to test the "new" screen in my module, I'm receiving an error where it says Undefined property: MediaItem::$CloudinaryRef. Here are links to the model itself and the test results:

It seems to only be on travis that this is a problem, and I've been trying to resolve it for the last day or so, with no luck.



Community Member, 3 Posts

4 August 2013 at 9:02am

Figured out what was going wrong here, exactly the same issue as on this thread

The getters and setters accessing the value directly were causing it to break.