Login  Register

Re: Users - CMS renderSubContentCache

Posted by David E. Jones on Mar 15, 2006; 4:32pm
URL: http://ofbiz.116.s1.nabble.com/Users-Calling-a-web-service-using-perl-tp137911p137916.html


Andrew,

Could you describe more of the error condition when the image does not appear? Is there anything in the log for the request? Also, is this a recent revision of OFBiz?

It sounds like there is a bug in it, and based on what you described perhaps related to loading it from the db which is why it comes from the cache fine when loaded from other code elsewhere... This means there is a less than ideal design here that has more than one code block to do this particular thing, and in one place it works and in another it doesn't.

-David


Andrew Sykes wrote:

> I'm having a problem with including an image using...
> <@renderSubContentCache subContentId="AN_IMAGE" />
>
> Sometimes the image appears, sometimes not, If I look up "AN_IMAGE" in
> Content/DataResource. Suddenly the image will appear on the site. I
> don't need to modify the DataResource record, simply view it.
>
> I've tried both
> <@renderSubContentCache
> and
> <@renderSubContent
>
> It seems to make no difference.
>
> Does anyone have any suggestions?
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users