The full number of dependencies should be shown/provided in api. This will mean walking down the dependency tree and checking the child dependencies of each of the top level layers that the layer depends on.
Adjusting priority - I had assumed this was required for bug 8004 but this is more of a further enhancement in support of it.
Clearing 2.0 milestone
Belen - I think this might be RESOLVED/INVALID as you stated the only 1st level dependencies are show in the layerdetails/layers page and we only show all levels of dependencies when adding the layer.
I think this is (In reply to comment #3) > Belen - I think this might be RESOLVED/INVALID as you stated the only 1st > level dependencies are show in the layerdetails/layers page and we only show > all levels of dependencies when adding the layer. Right, sorry about this. We had to make some decisions on the fly, and never occurred to me to check the bug list. We agreed that: * the layers table and layer details pages will show first-level dependencies (like the layer index does), so the information in those pages never changes; * the dependencies modal dialog will show the actual layers that will need to be added to the project when you are adding the layer (i.e. will take into account second level dependencies and the layers already in the project). We also opened bug 8426 to improve the dependency information we provide in the modal dialog. Setting this one to resolved - invalid as suggested.
Verified.