You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2018/10/24 17:35:00 UTC
[jira] [Created] (WHIMSY-217) asf/icla.rb caching is inconsistent
Sebb created WHIMSY-217:
---------------------------
Summary: asf/icla.rb caching is inconsistent
Key: WHIMSY-217
URL: https://issues.apache.org/jira/browse/WHIMSY-217
Project: Whimsy
Issue Type: Bug
Reporter: Sebb
The icla.rb library routine does not cache the original entries from iclas.txt.
Instead it caches the ids, names and emails.
However the each() method uses the first of these it finds; this means that any duplicates are lost; in particular any reference to find_by_id drops all notinavail entries.
It's OK to use the caches for the find_by methods, but not for each.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)