Comment 11 for bug 931672

Revision history for this message
Roland Hedberg (roland-hedberg) wrote : Re: [Bug 931672] Bug on metadata.py?

14 feb 2012 kl. 14:19 skrev MaLa:

> The "metadata" are not only the metadata of IdPs that can communicate
> with the Service Provider?

No, there might be information about other entities too.

> It 's mandatory to have an IdP with the Organization and
> OrganizationName? YES, is required, because without it the code make
> these errors.

Well, there is no standard or anything like that that makes it mandatory.

Yes, the code raises an exception if no name can be found.
Later versions of the code doesn't, it just returns an empty string.

One could argue that the code that tries to lookup the name should be able to handle the
exception gracefully.

> that's all?

That's it! :-)

> Thank you!

You're well come!

-- Roland