Fix Kexi/CalligraDB: Switching off the visibility of query fields hides data in the last field
ClosedPublic

Authored by staniek on Jan 16 2016, 10:54 PM.

Details

Summary

This is a fix for Query Designer with SQLite/MySQL/PostreSQL/Sybase.

See https://bugs.kde.org/attachment.cgi?id=96684 test file
BUG:346839
FIXED-IN:2.9.11

Test Plan

Try the minimal example from https://bugs.kde.org/attachment.cgi?id=96684, open query1 in design mode, set Visible=off for id and a fields, switch to data view.
Field b has data loaded after this fix.

Diff Detail

Repository
R8 Calligra
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
staniek updated this revision to Diff 1987.Jan 16 2016, 10:54 PM
staniek retitled this revision from to Fix Kexi: Switching off the visibility of query fields hides data in the last field.
staniek updated this object.
staniek edited the test plan for this revision. (Show Details)
staniek added a reviewer: piggz.
staniek added a subscriber: Kexi-Devel-list.
staniek updated this revision to Diff 1993.Jan 17 2016, 7:41 PM

Added the same fix for MySQL

staniek updated this object.Jan 17 2016, 7:41 PM
staniek updated this revision to Diff 1996.Jan 18 2016, 12:38 AM
staniek retitled this revision from Fix Kexi: Switching off the visibility of query fields hides data in the last field to Fix Kexi/CalligraDB: Switching off the visibility of query fields hides data in the last field.
staniek updated this object.
  • Solid fix for CalligraDB (cached vector of visible columns introduced)
  • pqxx/sybase driver fix and more complete fixes for other drivers

Done with updates, please test...

piggz accepted this revision.Jan 19 2016, 9:12 PM
piggz edited edge metadata.
This revision is now accepted and ready to land.Jan 19 2016, 9:12 PM
This revision was automatically updated to reflect the committed changes.