Skip to content
Succès

Changes

Summary

  1. Bug #14491 (details)
  2. Bug #14491 (details)
  3. Bug #14491 (details)
Commit 368f64b3b5adb28d074e467f431997dd47b0eb3d by Miguel Moquillon
Bug #14491

In uploadFile.jsp, encode for HTML the browsbar info in the breadcrumbs.

In the tree menu building, the tree filter implementations are now
retrieved by CDI and not anymore through the classloader.

Fix the code of the tree menu building to please Sonar.

Fix the bug: the sorting of the subspaces is asked.
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/model/TreeFilterTheme.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/servlet/TreeMenuAjaxServlet.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/model/MenuRuntimeException.java (diff)
The file was modifiedcore-war/src/main/webapp/wysiwyg/jsp/uploadFile.jsp (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/process/TreeHandler.java (diff)
The file was removedcore-configuration/src/main/config/properties/org/silverpeas/treeMenu/TreeMenu.properties
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/model/TreeFilterDefault.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/model/NodeType.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/process/TreeFilterFactory.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/model/MenuItem.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/model/MenuConstants.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/process/TreeBuilder.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/model/TreeFilter.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/process/TreeMenuJSON.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/model/TreeFilterSeeAlso.java (diff)
Commit 92ac11d876e08fff0839f5e0213af59cb978b7c1 by Miguel Moquillon
Bug #14491

Delete the spacesInURL.js js as no code in this file is used.
Fix the js code in the wysiwygToolBar.js file.
The file was modifiedcore-war/src/main/webapp/wysiwyg/jsp/javaScript/wysiwygToolBar.js (diff)
The file was removedcore-war/src/main/webapp/wysiwyg/jsp/javaScript/spacesInURL.js
Commit 626dc47d065a1815f66bd04eccfeb07d91c18233 by Miguel Moquillon
Bug #14491

Fix cycle dependency between TreeBuilder and TreeHandler.
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/process/TreeBuilder.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/treemenu/process/TreeHandler.java (diff)

Summary

  1. Bug #14661 (details)
  2. Bug #14491 (details)
  3. Bug #14491 (details)
Commit 9f5889426a0411c0c84ba283251c3f744862832c by Miguel Moquillon
Bug #14661

Fix the bug. The d&d handling was based upon the .jstree-draggable
class. But since the refactoring within the fix of the bug 14478,
the <span> with this CSS class didn't receive anymore the mouse
event but its <a> parent because this one had a class attribute set.
Without the class attribute in the <a> parent, the <span> element
succeed to receive any mouse click down event on it. Nevertheless, in
order the d&d mechanism works on publications, it was needed to move the
id attribute from the <a> element to the <span class=".jstree-draggable>
element because this publication identifier is fetched from this id on
the dragged HTML node. So, the click event handler of the <a> node
required to be refined to take into account of this (because the
id attribute was also fetched to figure out the identifier of the
publication to redirect the user to.
The file was modifiedkmelia/kmelia-war/src/main/webapp/kmelia/jsp/treeview.jsp (diff)
The file was modifiedkmelia/kmelia-war/src/main/java/org/silverpeas/components/kmelia/servlets/renderers/PublicationsRenderer.java (diff)
Commit 6f0900a2e7e91a63a1f7eef12e46fc803c63bcc4 by Miguel Moquillon
Bug #14491

In
kmelia/kmelia-war/src/main/webapp/kmelia/jsp/attachmentLinkManagement.jsp
and
kmelia/kmelia-war/src/main/webapp/kmelia/jsp/publicationLinksManager.jsp,
replace some Java plain codes by JSTL codes. Fix javascript code to
please Sonar.
The file was modifiedkmelia/kmelia-war/src/main/webapp/kmelia/jsp/publicationLinksManager.jsp (diff)
The file was modifiedkmelia/kmelia-war/src/main/webapp/kmelia/jsp/attachmentLinkManagement.jsp (diff)
Commit 5545434deaba779c390f121ab505a71d596501df by Miguel Moquillon
Bug #14491

Delete the spacesInURL.js files as no code in this files are used.
Remove the reference to the spacesInURL.js file in the JSPs. Refine
the code of those JSPs.
The file was removedwebSites/webSites-war/src/main/webapp/webSites/jsp/javaScript/spacesInURL.js
The file was modifiedyellowpages/yellowpages-war/src/main/webapp/yellowpages/jsp/groupManager.jsp (diff)
The file was modifiedyellowpages/yellowpages-war/src/main/webapp/yellowpages/jsp/topicManager.jsp (diff)
The file was modifiedwebSites/webSites-war/src/main/webapp/webSites/jsp/listSite_reader.jsp (diff)
The file was removedyellowpages/yellowpages-war/src/main/webapp/yellowpages/jsp/javaScript/spacesInURL.js
The file was modifiedwebSites/webSites-war/src/main/webapp/webSites/jsp/listSitePortlet.jsp (diff)
The file was modifiedwebSites/webSites-war/src/main/webapp/webSites/jsp/organize.jsp (diff)
The file was modifiedwebSites/webSites-war/src/main/webapp/webSites/jsp/listSite.jsp (diff)
The file was modifiedkmelia/kmelia-war/src/main/webapp/kmelia/jsp/attachmentLinkManagement.jsp (diff)
The file was modifiedwebSites/webSites-war/src/main/webapp/webSites/jsp/listSite_readerPortlet.jsp (diff)