Bug 337879 - [projectmodel] Project view in Lokalize sometimes doesn’t show available template files
Summary: [projectmodel] Project view in Lokalize sometimes doesn’t show available temp...
Status: RESOLVED WORKSFORME
Alias: None
Product: lokalize
Classification: Applications
Component: project management (other bugs)
Version First Reported In: 1.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-29 10:58 UTC by Karl Ove Hufthammer
Modified: 2019-11-06 18:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2014-07-29 10:58:33 UTC
Project view in Lokalize doesn’t show available template files. For example, I have set up a project with the following files (‘calligra’ folder in ‘l10n-support’ in KDE SVN for the ‘nb’ translation):

Translation folder (.po files):
ArtisticTextShape.po
AutocorrectPlugin.po
braindump.po
CalendarTool.po
…

Template folder (.pot):
ArtisticTextShape.pot
artwork.pot
ArtworkTools.pot
AutocorrectPlugin.pot
braindump.appdata.pot
braindump.pot
CalendarTool.pot
…

The project view in Lokalize shows the following:
ArtisticTextShape.po
AutocorrectPlugin.po
braindump.appdata.pot
braindump.po
CalendarTool.po
…

So, while *some* .pot files are shown (braindump.appdata.pot), some are missing:

artwork.pot
ArtworkTools.pot

Reproducible: Sometimes

Steps to Reproduce:
This happens *everytime* on my system and folder layout. But trying to create the following minimal steps to reproduce it, everything seems to work fine.

Steps to (maybe) reproduce: Run the following commands:

mkdir -p tmp/{templates,translations}
cd tmp
svn co -r1394955 svn://anonsvn.kde.org/home/kde/trunk/l10n-support/templates/summit/messages/calligra templates/calligra
svn co -r1394955 svn://anonsvn.kde.org/home/kde/trunk/l10n-support/nb/summit/messages/calligra translations/calligra

Se up a Lokalize project with ‘translations’ and ‘templates’ as folders.
Actual Results:  
Only some template files are shown.

Expected Results:  
All template files should be shown.

Since this is only partially reproducible, it may be difficult to find out what’s wrong. But there obviously is a bug, as the problem happens every time on my system and folder layout (which includes additional sub-folders).
Comment 1 Adrián Chaves (Gallaecio) 2019-10-19 14:58:30 UTC
You said it was always happening with your regular setup, but when trying to produce a minimal reproducible example everything worked as expected. Has this changed?

Can you reproduce the issue copying your whole set of files to a different location and creating a Lokalize project there? If so, you could start removing folders and then files from the copied folder until it stops reproducing. Knowing what makes it stop happening can help a great deal in solving the issue.
Comment 2 Bug Janitor Service 2019-11-03 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Karl Ove Hufthammer 2019-11-06 18:28:01 UTC
The files mentioned in this bug report no longer exist, and I am no longer reproduce it on my system. So the bug is probably fixed sometime in the last five years. Closing as WORKSFORME.