I'm using OpenMRS (version 1.9.3), and I really like Drawing Module (version 1.1).
The thing is, just recently, I've encountered this problem where the images that are being attached end up getting stored as blank images. I know this because when I view the form, instead of showing the stored image, it just shows a blank canvas.
I also checked:
"C:/Users//AppData/Roaming/OpenMRS/complex_obs", and I have .png images with the name, drawingObs_, where the max number is 100.
However, majority of the images is blank.
In addition, the number doesn't get any higher than 100, so what happens is, the images get overwritten.
Also, I noticed that even if I successfully save an image, after several minutes, it gets overwritten with a blank image. I've seen this occur in drawingObs_100.
I'm using multiple editors in my form (4 to be exact). And yes, the IDs in the drawing tags are unique.
I tested using only one drawing editor, but the result is still the same.
I'm now looking at the source code here at github. Where is DrawingUtil.saveFile(...) called? I'm thinking that's where I should check first.
Thanks,
Mike
I'm using OpenMRS (version 1.9.3), and I really like Drawing Module (version 1.1).
The thing is, just recently, I've encountered this problem where the images that are being attached end up getting stored as blank images. I know this because when I view the form, instead of showing the stored image, it just shows a blank canvas.
I also checked:
"C:/Users//AppData/Roaming/OpenMRS/complex_obs", and I have .png images with the name, drawingObs_, where the max number is 100.
However, majority of the images is blank.
In addition, the number doesn't get any higher than 100, so what happens is, the images get overwritten.
Also, I noticed that even if I successfully save an image, after several minutes, it gets overwritten with a blank image. I've seen this occur in drawingObs_100.
I'm using multiple editors in my form (4 to be exact). And yes, the IDs in the drawing tags are unique.
I tested using only one drawing editor, but the result is still the same.
I'm now looking at the source code here at github. Where is DrawingUtil.saveFile(...) called? I'm thinking that's where I should check first.
Thanks,
Mike