Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2654 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

We've got SuperContainer running on FMS 14 and have run into a weird problem.

We're storing mostly pdfs, but also some jpgs and pngs. For the jpgs and pngs, we've been experiencing an occasional oddity that I finally tracked down. These are image files that, for the most part, users take photos with their phones then upload via CWP. Image sizes range from 500 KB to 2 MB.

The issue arose because we resize the image files and convert them to pdf, eventually collating them into a single multi-page pdf that needs to be email-able. Sometimes the resize would fail, giving the full image. The same files always failed. We were resizing using height and width tags and tried both SCGetContainer() and the regular Web Viewer. Using the 'resolution' tag in SCGetContainer() would fail to resize. Using the resolution tag in the Web Viewer would cause a complete failure to display the image, giving a 500 error from the server.

After digging in deep, it appears the root cause is SCGetInfo can't see the height, width, or dimension tags in the file itself. Not all jpgs have this problem, maybe 10%. And it appears always the same users but *not* always that user (50% of the time).

For those specific files, when calling SCGetInfo without additionalFields parameters gives the correct result. But adding height, width, or dimension arguments breaks SCGetInfo, giving a 500 error. Presumably, this rolls downhill breaking the 'dimension' tags in the Web Viewer. SCGetContainer(), and SCDownload().

So, in short, some image files are breaking SuperContainer around the 'dimension' tags.

This topic is 2654 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.