Could this be an issue in the mx cloud? Right now all of the images for my feedback items in the sprintr portal aren’t loading. It could be a coincidence but maybe make a ticket with support just to make sure?
If it worked before and there was no change in your code that seems to cause that, something is weird. It’s hard to help out without knowing your project. Maybe Mendix Support need to help.
Mendix latest release contains a solution for a bug that made it impossible to upload an image to the sandbox. The implemented solution is a likely cause for this bug. See release notes:
I’ve upgraded to version 8. It worked for a few hours then the exact same issue re-surfaced.
I created a ticket but the only response I’ve had was the original response more than a day ago.
To investigate further I used the “Base64 encode file" java action from Commons to attempt to interrogate the contents on the entity. Locally the string returns accurately, on Sandbox I get the following stacktrace:
com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.storage.FileNotFoundInStorageException: LocalFileSystemStore:: File does not exist for key: d7a9e2cd-4f6d-4de8-a3a7-984efd16d6ed
at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:411)
Caused by:
com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.storage.FileNotFoundInStorageException: LocalFileSystemStore:: File does not exist for key: d7a9e2cd-4f6d-4de8-a3a7-984efd16d6ed
at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155)
Caused by:
com.mendix.storage.FileNotFoundInStorageException: LocalFileSystemStore:: File does not exist for key: d7a9e2cd-4f6d-4de8-a3a7-984efd16d6ed
at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)
Caused by:
LocalFileSystemStore:: File does not exist for key: d7a9e2cd-4f6d-4de8-a3a7-984efd16d6ed
at com.mendix.storage.localfilesystem.internal.LocalFileSystemStore.getFileDocumentAsFile(LocalFileSystemStore.scala:154)...
This issue has been resolved. They eventually got one of the RnD dev’s to take a look. They made some kind of restoration and the photos were available again. I did not have to upgrade. I did not have to re-deploy.
Affirms my thinking that the issue was infrastructure related.