You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Wise Wolfe (JIRA)" <ji...@apache.org> on 2009/04/02 22:47:13 UTC

[jira] Created: (DIRSTUDIO-481) refreshing of attributes and children

refreshing of attributes and children
-------------------------------------

                 Key: DIRSTUDIO-481
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-481
             Project: Directory Studio
          Issue Type: Bug
          Components: studio-ldapbrowser
    Affects Versions: 1.3.0
         Environment: connection to ldap ,  happend in eclipse or stand alone 
            Reporter: Wise Wolfe


When nodes attributes and childred are changed through another application
the Refresh is very inconsistant.

First there appears to be no way to refresh the whole tree.
You have to select the node refresh. sometimes you have to hit F5, sometimes Right click action update attributes and children
and sometime I have to use the tool bar refresh icon.

I always have to click on each individual node and refresh each child entry.  I have to cycle through the 3 options above because when a value is updated out side the studio.  The 3 refresh options do not always work.  One of them usually works.  but which one is always a good question.
When you refresh it should refresh the whole tree or aleast from the node and all children.
Also refresh should have an option to not only refresh the children, but also their attributes.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSTUDIO-481) Improve refreshing of attributes and children

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann updated DIRSTUDIO-481:
--------------------------------------

    Summary: Improve refreshing of attributes and children  (was: refreshing of attributes and children)

One more comment to the second issue: I also had the issue that F5 stops to work, especially when running within Eclipse and using the debugger. I suppose that the debugger than takes over the F5 shortcut, but I have not clue how to fix that.


> Improve refreshing of attributes and children
> ---------------------------------------------
>
>                 Key: DIRSTUDIO-481
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-481
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.3.0
>         Environment: connection to ldap ,  happend in eclipse or stand alone 
>            Reporter: Wise Wolfe
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.0
>
>
> When nodes attributes and childred are changed through another application
> the Refresh is very inconsistant.
> First there appears to be no way to refresh the whole tree.
> You have to select the node refresh. sometimes you have to hit F5, sometimes Right click action update attributes and children
> and sometime I have to use the tool bar refresh icon.
> I always have to click on each individual node and refresh each child entry.  I have to cycle through the 3 options above because when a value is updated out side the studio.  The 3 refresh options do not always work.  One of them usually works.  but which one is always a good question.
> When you refresh it should refresh the whole tree or aleast from the node and all children.
> Also refresh should have an option to not only refresh the children, but also their attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSTUDIO-481) refreshing of attributes and children

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann updated DIRSTUDIO-481:
--------------------------------------

    Fix Version/s: 1.5.0
         Assignee: Stefan Seelmann

> refreshing of attributes and children
> -------------------------------------
>
>                 Key: DIRSTUDIO-481
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-481
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.3.0
>         Environment: connection to ldap ,  happend in eclipse or stand alone 
>            Reporter: Wise Wolfe
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.0
>
>
> When nodes attributes and childred are changed through another application
> the Refresh is very inconsistant.
> First there appears to be no way to refresh the whole tree.
> You have to select the node refresh. sometimes you have to hit F5, sometimes Right click action update attributes and children
> and sometime I have to use the tool bar refresh icon.
> I always have to click on each individual node and refresh each child entry.  I have to cycle through the 3 options above because when a value is updated out side the studio.  The 3 refresh options do not always work.  One of them usually works.  but which one is always a good question.
> When you refresh it should refresh the whole tree or aleast from the node and all children.
> Also refresh should have an option to not only refresh the children, but also their attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-481) refreshing of attributes and children

Posted by "Wise Wolfe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695127#action_12695127 ] 

Wise Wolfe commented on DIRSTUDIO-481:
--------------------------------------

I am connection to an ADAM instance

> refreshing of attributes and children
> -------------------------------------
>
>                 Key: DIRSTUDIO-481
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-481
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.3.0
>         Environment: connection to ldap ,  happend in eclipse or stand alone 
>            Reporter: Wise Wolfe
>
> When nodes attributes and childred are changed through another application
> the Refresh is very inconsistant.
> First there appears to be no way to refresh the whole tree.
> You have to select the node refresh. sometimes you have to hit F5, sometimes Right click action update attributes and children
> and sometime I have to use the tool bar refresh icon.
> I always have to click on each individual node and refresh each child entry.  I have to cycle through the 3 options above because when a value is updated out side the studio.  The 3 refresh options do not always work.  One of them usually works.  but which one is always a good question.
> When you refresh it should refresh the whole tree or aleast from the node and all children.
> Also refresh should have an option to not only refresh the children, but also their attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-481) refreshing of attributes and children

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712551#action_12712551 ] 

Stefan Seelmann commented on DIRSTUDIO-481:
-------------------------------------------

Emmanuel told me on IRC, that he also runs into some issues with refreshing the DIT.

So I checked the current behaviour: When browsing the DIT and expanding some entries, all the fetched attributes and parent-child relationships are cached in Studio. If the DIT gets updated somehow and one refreshes a particular entry in the LDAP browser, the following happens:
- Only the selected entry's attributes are reloaded
--> Attributes of children are not touched, they remain in the cache and when selecting such an entry after the refresh its old attributes are shown in the entry editor
- Only the immediate child entries are reloaded
--> Grandchild entries are not touched, they remain in the cache and remain visible in the LDAP browser tree

So I would suggest to purge all cached parent-child relationships and attributes on refresh, beginning from the refreshed entry, recursively down the whole tree

The open question is: Should all expanded branches below the refreshed entry also be reloaded? This could cause many additional search requests. The alternative (what I would prefer) is to collapse all branches below the entrys's immediate children. So if you have the tree below and refresh node 'b1', then only then immediate childen of 'b1' are refreshed and the 'c' nodes are collapsed

a1
|-b1
  |-c1
    |-d1
      |-e1
  |-c2
  |-c3
    |-d3


> refreshing of attributes and children
> -------------------------------------
>
>                 Key: DIRSTUDIO-481
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-481
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.3.0
>         Environment: connection to ldap ,  happend in eclipse or stand alone 
>            Reporter: Wise Wolfe
>
> When nodes attributes and childred are changed through another application
> the Refresh is very inconsistant.
> First there appears to be no way to refresh the whole tree.
> You have to select the node refresh. sometimes you have to hit F5, sometimes Right click action update attributes and children
> and sometime I have to use the tool bar refresh icon.
> I always have to click on each individual node and refresh each child entry.  I have to cycle through the 3 options above because when a value is updated out side the studio.  The 3 refresh options do not always work.  One of them usually works.  but which one is always a good question.
> When you refresh it should refresh the whole tree or aleast from the node and all children.
> Also refresh should have an option to not only refresh the children, but also their attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRSTUDIO-481) refreshing of attributes and children

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann resolved DIRSTUDIO-481.
---------------------------------------

    Resolution: Fixed

Fixed in trunk:
  http://svn.apache.org/viewvc?rev=778231&view=rev


> refreshing of attributes and children
> -------------------------------------
>
>                 Key: DIRSTUDIO-481
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-481
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.3.0
>         Environment: connection to ldap ,  happend in eclipse or stand alone 
>            Reporter: Wise Wolfe
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.0
>
>
> When nodes attributes and childred are changed through another application
> the Refresh is very inconsistant.
> First there appears to be no way to refresh the whole tree.
> You have to select the node refresh. sometimes you have to hit F5, sometimes Right click action update attributes and children
> and sometime I have to use the tool bar refresh icon.
> I always have to click on each individual node and refresh each child entry.  I have to cycle through the 3 options above because when a value is updated out side the studio.  The 3 refresh options do not always work.  One of them usually works.  but which one is always a good question.
> When you refresh it should refresh the whole tree or aleast from the node and all children.
> Also refresh should have an option to not only refresh the children, but also their attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSTUDIO-481) Improve refreshing of attributes and children

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot closed DIRSTUDIO-481.
--------------------------------------------


Apache Directory studio version 1.5.0 has been released.

> Improve refreshing of attributes and children
> ---------------------------------------------
>
>                 Key: DIRSTUDIO-481
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-481
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.3.0
>         Environment: connection to ldap ,  happend in eclipse or stand alone 
>            Reporter: Wise Wolfe
>            Assignee: Stefan Seelmann
>             Fix For: 1.5.0
>
>
> When nodes attributes and childred are changed through another application
> the Refresh is very inconsistant.
> First there appears to be no way to refresh the whole tree.
> You have to select the node refresh. sometimes you have to hit F5, sometimes Right click action update attributes and children
> and sometime I have to use the tool bar refresh icon.
> I always have to click on each individual node and refresh each child entry.  I have to cycle through the 3 options above because when a value is updated out side the studio.  The 3 refresh options do not always work.  One of them usually works.  but which one is always a good question.
> When you refresh it should refresh the whole tree or aleast from the node and all children.
> Also refresh should have an option to not only refresh the children, but also their attributes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.