mendix / RestServices

REST service module for Mendix. Supports consuming and publishing REST based services and real-time data synchronization. Supports JSON, form-encoded, multipart and binary data transport.
Apache License 2.0
31 stars 46 forks source link

Argument should be persistent according to error text, but is triggered is said argument is persistant. #88

Open Sluimers opened 7 years ago

Sluimers commented 7 years ago

Dataservices.java

if (targetArgName == null || viewArgName == null || Core.getMetaObject(viewArgType).isPersistable())
            throw new RuntimeException("Microflow '" + serviceDef.getOnUpdateMicroflow() + "' should have one argument of type "
                                       + serviceDef.getSourceEntity() + ", and one argument typed with an persistent entity");