cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED]Debugging Help wanted - Share DocLibrary Titles

norgan
Champ in-the-making
Champ in-the-making
Hello folks,
please check something for me. When I change the title on a folder in the share document library, all other folders are changed as well.

How do I do it ? Try this :
  • (On Build 1164) in the Share client, create a site, go to Document Library and create two folders :

  • 1st Folder : Name = Test1 & Title = Test1

  • 2nd Folder : Name = Test2 & Title = Test2

  • Activate "Show Folders"

  • Edit Metadata on any  folder => My title field is EMPTY

  • on Folder Test1, set Title to  "Test1"  and save

  • Edit Metadata on 2nd folder => My title field is "Test1"
I can reproduce that with any site, I create.

System :
Build 1164 fresh install on Opensuse 10.3

Any confirmation or tipp, how to debug this ?

Regards,
Norgan
1 REPLY 1

mikeh
Star Contributor
Star Contributor
Hi

Good spot - it's actually due to double-use of an element Id, which wasn't picked up automatically.

In details.get.html.ftl
- search for ${args.htmlid}-title
- replace the second two with ${args.htmlid}-fileTitle

In details.js
- search for Dom.get(this.id + "-title").value = file.title ? file.title : "";
- replace with Dom.get(this.id + "-fileTitle").value = file.title ? file.title : "";

https://issues.alfresco.com/jira/browse/ETHREEOH-294 refers - I've merged the change to HEAD, so it should be available on the public SVN shortly.

Thanks,
Mike