Bug 441560 - Error in searchdata if uppercase letters in directory names
Summary: Error in searchdata if uppercase letters in directory names
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kapidox
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-26 08:54 UTC by Dag Andersen
Modified: 2021-11-02 21:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Patch to handle uppercase directory names (600 bytes, patch)
2021-08-26 08:54 UTC, Dag Andersen
Details

Note You need to log in before you can comment on or make changes to this bug.
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