In CCK a field may have not only one value, the mapping should support it also. OpenID AX has the ability to support multiple values:
On provider side this means we have to return something like this:
openid.ax.count.fav_movie=2
openid.ax.value.fav_movie.1=Movie1
openid.ax.value.fav_movie.2=Movie2
And on client side it needs to be processed.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 443194-1-openid_cp_field-support_for_multiple_values.patch | 19.79 KB | xamanu |
Comments
Comment #1
xamanu commentedHere comes a first patch. Which is working for me. But there should go some more love into it. This patch implements the support for fields as ctools plugins. This patch has to be improved especially on the processing when receiving attributes. It works for now but is still to hard coded. Please note that there is no upgrade path included. So you'll have to define your field to AX mapping again.
Comment #2
xamanu commentedNevertheless I just committed the changes to the dev branch, because new files in patches are not getting handled properly, if they are in a new directory. I want to push this functionality and since it is working it gets committed now.