That is an unexpected behavior. The unbind method stores unbinded links in 
their own list 
(https://gitlab.com/mayan-edms/mayan-edms/blob/master/mayan/apps/navigation/classes.py#L192)
 
this way they can be removed from the resolved links list even if they are 
unbinded before or after being created 
(https://gitlab.com/mayan-edms/mayan-edms/blob/master/mayan/apps/navigation/classes.py#L173).
 
The idea is making unbinding commutative.

A test is needed to diagnose and fix this.

On Thursday, January 21, 2016 at 10:30:39 PM UTC-4, Rachael Sewell wrote:
>
> Hi Roberto,
>
> I noticed that some of the links will be removed but not all of the ones 
> that I unbind. I created a new app navigation_customize and added it to my 
> installed apps and then called the unbind_link() method. I noticed that 
> some of the links would be removed and that depended on where in the list 
> of installed apps, that I added navigation_customize. Is there an order of 
> operations issue here? I ended up just removing several apps from the 
> project to remove all of the unnecessary views:
>
> Checkouts
> Indexes
> Folders
> Signatures
>
> Rachael
>
>
> On Friday, January 15, 2016 at 4:18:43 PM UTC-8, Rachael Sewell wrote:
>>
>> Hello,
>>
>> I'm looking for the best way to customize/remove some views in Mayan. 
>> Currently, we won't need:
>>
>> Trash (deleting documents)
>> Indexes
>> Folders
>> Checkouts
>> Signatures
>>
>> I'm able to comment out adding menu items to the menu_main and 
>> menu_facet, and menu_object in apps.py to customize what I see, but I'm not 
>> sure that this is the right place to remove the view. 
>>
>> What I'd like to do is customize the navigation bar to include:
>> * A logout button drop-down from the User button on the right
>> * A create document link
>> * Recent Documents
>>
>> Then I would remove those duplicate items from the home page area. 
>>
>> Ideally, I'd like to add a button to display My Workflow and My Documents 
>> to the navigation bar.
>>
>> Any pointers to the right place to do this to allow compatibility with 
>> Mayan would be great.
>>
>> Rachael
>>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to