[Freeipa-devel] [PATCH] 0257-containing-entity-pkeys
Adam Young
ayoung at redhat.com
Wed Jun 29 20:47:23 UTC 2011
On 06/29/2011 12:52 PM, Endi Sukma Dewata wrote:
> On 6/29/2011 11:30 AM, Adam Young wrote:
>> On 06/29/2011 10:34 AM, Adam Young wrote:
>>> On 06/29/2011 09:37 AM, Adam Young wrote:
>>>> Better solution than the algorithm in 256 for nested entities.
>> Changes for Hyphen and pkey names
>
> Some issues:
>
> 1. This statement will store undefined values into url_state:
>
> url_state[key_name] = state[key_name];
>
> We need to check whether the state[key_name] is undefined.
> To test, open the UI, click the 'User Group' tab.
>
> 2. The following line should be located outside the for loop that
> iterates through the key names for that entity:
>
> current_entity = current_entity.containing_entity;
>
> This will cause a problem when there are more than 1 key name.
>
> 3. Optionally, the get_key_names() could just return 'pkey' instead
> of the full '<entity name>-pkey'. The navigation code can add the
> prefix.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-admiyo-0257-2-containing-entity-pkeys.patch
Type: text/x-patch
Size: 2786 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110629/879fdd2e/attachment.bin>
More information about the Freeipa-devel
mailing list