Bug 441560

Summary: Error in searchdata if uppercase letters in directory names
Product: [Frameworks and Libraries] frameworks-kapidox Reporter: Dag Andersen <dag.andersen>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Patch to handle uppercase directory names

Description Dag Andersen 2021-08-26 08:54:07 UTC
Created attachment 141056 [details]
Patch to handle uppercase directory names

SUMMARY
KDiagram fails because it contains two libs named KChart and KGantt.

The dir structure generated by kapidox is lowercase but the url put
in the global searchdata.json file is uppercase.

Patch is attached.
Tested for KDIagram locally.

STEPS TO REPRODUCE

OBSERVED RESULT
Just check api.kde.org
Comment 1 Bug Janitor Service 2021-10-15 06:39:53 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kapidox/-/merge_requests/22
Comment 2 Janet Blackquill 2021-11-02 21:27:33 UTC
Git commit cef547645ea8b6a67d526cd05001e5a472265af6 by Jan Blackquill, on behalf of Dag Andersen.
Committed on 02/11/2021 at 21:27.
Pushed by cblack into branch 'master'.

Handle uppercase directory names

When a product contains multiple libraries with uppercase names
the global searchdata.json file is generated with uppercase urls
while everywhere else they are converted to lowercase.

This patch converts to lowercase also for the global searchdata file.

M  +1    -1    src/kapidox/generator.py

https://invent.kde.org/frameworks/kapidox/commit/cef547645ea8b6a67d526cd05001e5a472265af6