📜 ⬆️ ⬇️

Bug when working with Link Library

When creating another site on MOSS2007, I encountered such a problem, or even a bug can be said.

On the page it was necessary to place several (or rather 3) libraries of links.
In each library there were several folders in which there were correspondingly links too.
All three libraries were located on the same page.


')
The bug is that the button “Add new link” works properly only in the third (!) Account library. By regularly I understand the following:
If we go to the folder and click “Add new link” and add a link, then it should be added to this folder. But this action only works in the latest library. In those above, the link is added to the root.

I will show an example.

In “Library 3” we go to the folder “Folder 3” and hover the cursor on “Add new link”, in the status bar you can clearly see that the RootFolder parameter is present



Add a link in the usual way.



As a result, the link appears as one would expect - not at the root but in the folder.



Now do the same with the libraries that are located above.

In “Library 2” we go to the folder “Folder 2” and hover the cursor on “Add new link”, in the status bar you can clearly see that the RootFolder parameter is present. But if you pay special attention, you can see that the parameter has the value Folder 3 (i.e. the previous folder where the link was added), it will be if we’ve logged in from a non-clean page



From a clean page



Add a link "Test 2 Link" link to the library. But seeing is not expected.



There is no link in the folder. But he is at the root of the library.



The essence of the bug comes down to the fact that if there are several link libraries on the page, the RootFolder value for the Add New Link button is incorrectly displayed, more accurately for all link libraries except the last one.

I note that we worked with the so-called "external" side of the library (we can say FrontEnd), with BackEnd everything works fine.

I think that with other types of libraries there is a similar bug, unfortunately there is not enough time to check.

Source: https://habr.com/ru/post/70822/


All Articles