[MNT-15743] documentlibrary generation anomaly in Share Created: 25-Feb-16  Updated: 20-Jul-16  Resolved: 20-Apr-16

Status: Closed
Project: Service Packs and Hot Fixes
Component/s: Blog (non-UI), Document Library, Wiki
Affects Version/s: 4.1, 4.2, 5.0
Fix Version/s: 5.1.1

Type: Service Pack Request
Reporter: Jonathan Rivalan (Inactive) Assignee: Closed Bugs (Inactive)
Resolution: Fixed Votes: 0
Labels: rn511
Remaining Estimate: 0 minutes
Time Spent: 3 hours, 30 minutes
Original Estimate: Not Specified

Attachments: XML File presets.xml    
Issue Links:
Cloners
Bug Priority:
Category 2
ACT Numbers:

Community

Build Location: https://releases.alfresco.com/Enterprise-5.1/5.1.1/5.1.1/build-00138/ALL/

 Description   

The Wiki and Blog pages create a misnamed document library: "documentlibrary" instead of "documentLibrary"

Steps to reproduce

  1. Change presets.xml and commented out docsummary dashlet and docLib page (see attached),
    • ./tomcat/webapps/share/WEB-INF/classes/alfresco/site-data/presets/presets.xml
  2. Then added wiki and created wiki page

Expected results

  • Alfresco creates a proper documentLibrary container for the site (see the upper-case L)

Actual results

  • Produced documentlibrary container name

Notes

  • Still works though if I add doclib page and start using it, it will use the lowercase version componentId

Original notes:

The goal for this issue creation is to inform Alfresco which doesn't seem to know about this.

The folder documentLibrary (for documentation library) is created through various entries:

  • access to the documentary space
  • positionning of "site content" dashlet
  • blog or wiki page creation

It's this last entry where the bug occurs.

Usually, it's not visible because the "site content" dashlet is set by default in Share, so it automatically generates the documentLibrary. Except when we decide to build our own dashboard template without the dashlet, then the documentLibrary is not automatically generated.

If we decide to create a wiki page, after site creation, the pluggin generates documentlibrary instead of documentLibrary (l lowercase instead of uppercase). It has for effect an anomaly which prevent moving or copying documents from within the documentary space. It is not possible to rename the folder, Alfresco spits an error. You need to remove the folder and then regenerate it correctly (or manually).

Wiki generates documentlibrary by calling this url :
https://fqdn/share/proxy/alfresco/slingshot/doclib/container/nomDuSite/documentlibrary

instead of

https://fqdn/share/proxy/alfresco/slingshot/doclib/container/nomDuSite/documentLibrary


Generated at Mon Mar 08 16:02:30 GMT 2021 using Jira 7.13.15#713015-sha1:7c5ddd2c3e1709974ae9c48c17df8edd3919fe2c.