Bug 282445 - Kexi should not show objects with invalid metadata in project navigator
Summary: Kexi should not show objects with invalid metadata in project navigator
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 2.4 beta2 (Calligra 2.4 beta2)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 23:50 UTC by Jarosław Staniek
Modified: 2011-09-21 23:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.4 beta2 (Calligra 2.4 beta2)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jarosław Staniek 2011-09-20 23:50:20 UTC
Kexi should not show objects with invalid metadata in project navigator. In fact it should not load info about them. Such invalid objects include: 

* objects with id <= 0
* objects with name reserved for internal use
* objects with name not being valid identifier (so also covers missing name case)

What should Kexi do? Skip these objects, since loading them would break internal logic.
Comment 1 Jarosław Staniek 2011-09-20 23:54:35 UTC
Git commit ce743363028c6fb5624065f949091c1d1b87c5bb by Jaroslaw Staniek.
Committed on 21/09/2011 at 01:52.
Pushed by staniek into branch 'master'.

Do not load/show objects with invalid metadata in project navigator

Such invalid objects include: objects with id <= 0, objects with
name reserved for internal use, objects with name not being valid
identifier.

BUG:282445

M  +3    -3    kexi/core/kexiproject.cpp
M  +6    -0    kexi/doc/dev/CHANGELOG-Kexi-js

http://commits.kde.org/calligra/ce743363028c6fb5624065f949091c1d1b87c5bb