I have a webservice object in my datamodel. This object will be created for every employee in my database when the published webservice is called. This webservice object inherits from image. I can map every attribuut in my published webservice, including my image (attribute contents). When I test it, it works fine when an employee has got a referenced image. But when my webservoice object is created without an images object I get the following error when calling the webservice: kO: ac: FileDatastore: File does not exist at jm.a(SourceFile:348) Caused by: ac: FileDatastore: File does not exist at kc.a(SourceFile:48) at jm.a(SourceFile:346) at com.mendix.core.Core.getFileDocumentContent(SourceFile:1382) at iS.a(SourceFile:225) at iS.a(SourceFile:117) at iS.a(SourceFile:100) at iS.a(SourceFile:78) at iS.a(SourceFile:53) at jB.a(SourceFile:290) at jB.b(SourceFile:129) at jB.a(SourceFile:88) at com.mendix.modules.webservices.WebserviceModule.handleWebserviceCall(SourceFile:380) at dD.processRequest(SourceFile:27) at fC.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:916) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:42) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:662) The content attribute is mapped as 'Optional', but it looks like it isn't optional at all but mandatory. Is it true that when I publish an object with inheritance of System.Image, that the contents attribute is never optional but mandatory?
asked
Roeland Strootman
3 answers
2
This is a bug, please file a report :(
answered
Achiel
1
I have the same issue in modeler version 4.4.2
Has this issue been solved?