Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
211 views

SM -> SRC, image does not sync to SRC

Jump to solution

Hi everyone,

I'm having some issues with images on Service Catalog items not syncing to SRC. The following can be found in the log:

12 feb 2016 12:09:56,082 INFO [scheduler-2] (CatalogLifecycleManagerImpl.java:213) - [REFRESH] Starts refreshing catalog
12 feb 2016 12:09:56,098 INFO [scheduler-2] (RetriableWebServiceTemplate.java:42) - Redirect to URL:https://smhost:13100/SM/7/ws
12 feb 2016 12:09:56,489 INFO [scheduler-1] (CustomFieldManagerImpl.java:113) - Load Custom Fields : sv
12 feb 2016 12:09:56,582 INFO [scheduler-1] (CustomFieldManagerImpl.java:113) - Load Custom Fields : en
12 feb 2016 12:09:56,645 INFO [scheduler-1] (CustomFieldManagerImpl.java:127) - Load Custom Fields finished
12 feb 2016 12:09:57,785 INFO [scheduler-4] (RetriableWebServiceTemplate.java:42) - Redirect to URL:https://smhost:13100/SM/7/ws
12 feb 2016 12:09:58,207 ERROR [scheduler-2] (AttachmentLoader.java:98) - [Attachment] Cannot load attachment for [2084]
12 feb 2016 12:09:58,254 INFO [scheduler-2] (CatalogLifecycleManagerImpl.java:289) - [REFRESH] Catalog refresh complete.Fri Feb 12 12:09:58 CET 2016

No other errors are present in any other logs, nothing in SM nor in SRC. SRC have created the folders in secure/attachments aswell as in secure/luceneIndexedData so I know the service running tomcat has access to the folders in question.

Have anyone had the same problem? This error also occurs on regular attachments when added to a service catalog item.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

Re: SM -> SRC, image does not sync to SRC

Jump to solution

The problem was that the dbdict of the svcCatalog table was corrupted.

 

The id.attach alias of the id field was set to sm-type "character" instead of "number". Correcting this setting made the XML compile correctly and transfer attachments to the SRC.

View solution in original post

0 Likes
5 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: SM -> SRC, image does not sync to SRC

Jump to solution

hello Ugglan,

hope you are doing well.

could you please attach an scrennshot? i have no clear what the problem is. did you make any upgrade, any change? was this working before?

the images are not available on SRC? could you please try to change the id.attach field to number and clean the SRC cache.

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: SM -> SRC, image does not sync to SRC

Jump to solution

What is the image that will not display/import? Can you attach it? Is it the same image file type as the other images added for the catalog?

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
0 Likes
Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

Re: SM -> SRC, image does not sync to SRC

Jump to solution

I've reset the SRC cache multiple times but to no avail. The category/items does sync over well each time but the attachments/images always fail.

attached you'll find one of the images that doesn't sync over.

One thing that I have to add is that the images/attachments that doesn't show up in SRC does show up the the service catalog when using the old ESS portal.

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: SM -> SRC, image does not sync to SRC

Jump to solution

Hi,

Please can you confirm the exact versions of SM/SRC that you are using and please can you upload the sm.log that SRC writes to for the same time period as the server.log snippet you have displayed above?

Thanks.

0 Likes
Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

Re: SM -> SRC, image does not sync to SRC

Jump to solution

The problem was that the dbdict of the svcCatalog table was corrupted.

 

The id.attach alias of the id field was set to sm-type "character" instead of "number". Correcting this setting made the XML compile correctly and transfer attachments to the SRC.

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.