Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Failed using with_map_records twice

Received: by 10.42.62.19 with SMTP id w19mr8508492ich.4.1350571216874;
        Thu, 18 Oct 2012 07:40:16 -0700 (PDT)
X-BeenThere: rose-db-object@googlegroups.com
Received: by 10.43.90.135 with SMTP id bi7ls1283788icc.3.gmail; Thu, 18 Oct
 2012 07:40:16 -0700 (PDT)
Received: by 10.42.63.72 with SMTP id b8mr9633864ici.29.1350571216333;
        Thu, 18 Oct 2012 07:40:16 -0700 (PDT)
Received: by 10.42.63.72 with SMTP id b8mr9633863ici.29.1350571216322;
        Thu, 18 Oct 2012 07:40:16 -0700 (PDT)
Return-Path: <sirac...@gmail.com>
Received: from mail-ia0-f170.google.com (mail-ia0-f170.google.com [209.85.210.170])
        by gmr-mx.google.com with ESMTPS id hr6si2195812igc.0.2012.10.18.07.40.16
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 18 Oct 2012 07:40:16 -0700 (PDT)
Received-SPF: pass (google.com: domain of sirac...@gmail.com designates 209.85.210.170 as permitted sender) client-ip=209.85.210.170;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of sirac...@gmail.com designates 209.85.210.170 as permitted sender) smtp.mail=sirac...@gmail.com; dkim=pass header...@gmail.com
Received: by mail-ia0-f170.google.com with SMTP id e16so5783400iaa.15
        for <rose-db-object@googlegroups.com>; Thu, 18 Oct 2012 07:40:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type:content-transfer-encoding;
        bh=miQasNTbhac0EwZGttglvgcc08JbapyNkKoxPmDbcBk=;
        b=g8wA/W/p2pOhTtAXzLENzQ0aarE3CGtyY5LjnqJxCWh5WXLfCGJnzMyqJlp0X1HUhZ
         ll4ZXuE8iXy6liPsl/jKHK6YBo/pewo8RB9clq62Zrpvf6e/dykWM7DoohzgQSP705Vm
         HdJLs7Qt7rjHp/Fg/uXiMacYZ7MpQTKaJFOiKc1KlP9uHCqLvrhSxMRkWmOdthTdi/MF
         S6BpU28Y/RLB6cjsNMwmndCy3IUnnS0+0lFBu0uu4blnMvL7jtMGCks5l9RZbK+29nRM
         dJx+SQLU72AEHtwvhwrHLx7B4ntVbUeG0LZ3UudCvaWHqaCUwnjy0tLjwkayhJWNu1r2
         yYiw==
Received: by 10.50.185.168 with SMTP id fd8mr5045597igc.51.1350571216109; Thu,
 18 Oct 2012 07:40:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.16.166 with HTTP; Thu, 18 Oct 2012 07:39:52 -0700 (PDT)
In-Reply-To: <508012F3.7020...@renater.fr>
References: <508012F3.7020...@renater.fr>
From: John Siracusa <sirac...@gmail.com>
Date: Thu, 18 Oct 2012 10:39:52 -0400
Message-ID: <CAJu6bqu6U7vxH=cc+EkhikcJBsztNhcpBu4-C=R66xZHkww...@mail.gmail.com>
Subject: Re: Failed using with_map_records twice
To: rose-db-object@googlegroups.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 18, 2012 at 10:32 AM, Olivier Sala=C3=BCn
<olivier.sal...@renater.fr> wrote:
> But if I try running the code below to browse serviceproviders afterward,=
 it
> fails with this error message: "next() - Illegal map record argument:
> FederationRegistry::Data::ServiceproviderFederationMap=3DHASH(0xa4dddb4) =
at
> /usr/lib/perl5/site_perl/5.8.8/Rose/DB/Object/Manager.pm line 2284"

Try giving each map record method a different name (since they will
end up holding objects of different types).  E.g., with_map_records =3D>
'some_method_name' instead of with_map_records =3D> 1

http://search.cpan.org/dist/Rose-DB-Object/lib/Rose/DB/Object/Manager.pm#wi=
th_map_records

-John