Menu

#93 producerId is ignored

open
nobody
TagLibrary (33)
5
2013-01-13
2006-08-30
Anonymous
No

when checking cache cewolf doesn't use producerId, so
when I have 2 producers with different id's and I want
2 charts being cached cewolf always returns the first
one, because KeyGenerator uses only params, not the
producerId:

public DatasetProductionTimesKey(String producerId, Map
params){
key = KeyGenerator.generateKey((Serializable) params);
log.debug("data key is " + key + " producerId=" +
producerId);
}

Discussion

  • Nobody/Anonymous

    Logged In: NO

    xcczx

     
  • Ulf Dittmer

    Ulf Dittmer - 2008-02-24

    Logged In: YES
    user_id=908396
    Originator: NO

    I'm interested in fixing this bug, but since there's no test case I can't reproduce it. Having two charts on the same page that use the same producer class (but using different IDs) seems to work fine, so I guess I'm missing something.

    If the person who entered this sees it, please contact me with the details (or attach a test case including JSP and Java source here).

     

Log in to post a comment.