Closed (fixed)
Project:
OpenID Content Profile Field
Version:
6.x-6.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Apr 2009 at 23:49 UTC
Updated:
7 Jul 2009 at 20:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
aron novakAlright, this patch makes it possible. When you delete all the mappings what came from code, the mapping remains empty and you can use the Revert button to get back the unaltered mapping from the code.
Comment #2
aron novakComment #3
alex_b commentedIt shouldn't be necessary to use a new variable. Why don't you do the following?
Patch conflicts with #439702: User Interface review I because the typo on 'overriden' was fixed.
Comment #4
aron novakComment #5
aron novakThe patch in #4 is buggy. It shows "Revert" button when there is nothing to revert and says overridden when nothing has been changed compared to the mapping that defined in code.
Also the patch in #5 includes a tiny code style improvement in determining the profile type.
Comment #6
aron novakThe "tiny code style improvement" in #5 is not only about code style, but the problem is that the previous way was more robust because we cannot predict what kind of profile node of the current user has.
Comment #7
alex_b commentedThis is working beautifully now. Committed, thank you.