takcy / openid4java

Automatically exported from code.google.com/p/openid4java
Apache License 2.0
0 stars 0 forks source link

unlimited count for attribute exchange not properly handled in FetchResponse #171

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Request unlimited count in ax
2.
3.

What is the expected output? What do you see instead?
All values of attribute should be returned but none are

What version of the product are you using? On what operating system?
0.9.6.622

Please provide any additional information below.

unlimited is mapped to 0 in FetchRequest.getCount and loop to add attributes is 
not executed.
adding e.g. after getting max would fix this.
if(max==0){
  max=Integer.MAX_VALUE;
}

Original issue reported on code.google.com by simo.nik...@gmail.com on 12 Dec 2011 at 12:09

GoogleCodeExporter commented 8 years ago
Fixed in r688.

Original comment by Johnny.B...@gmail.com on 31 Oct 2012 at 8:48