Bug report #7068
Joined table regressions
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | - | ||
Category: | Vectors | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 16152 |
Description
Hi all,
in master révision , I tested join table feature because many users complained in 1.8 of erratic behaviour.
JOINING a dbf table to a postgis table, i tested all Index and cache options same result.
- Displaying attribute table works
- Ordering attribute works if clicking on a field of destination table. When ordering a field of joined table, attribute table goes blank.
- Labeling or trying to create a graduated or single value analyse just don't fetch any value, and lead to crashes.
nothing works OK now, and it's probably normal with recent API merge, but we need to consolidate this before going further with 1- n relations discussed by matthias Khun and al.
thanks all
Régis
Associated revisions
Fix table join (fix #7068)
Fix broken compatibility of table join (project file) (fix #7068)
History
#1 Updated by Minoru Akagi almost 12 years ago
- File join_blank1.png added
- File shiftedJoinedFields.zip added
Added a set of test data, which includes a Shapefile and two CSV files. One CSV file (fruits1.csv) has keys for join in the first column , and the other (fruits2.csv) has them in the second. In the joined table, there is a blank field. The fields from fruits1.csv are shifted one to the left.
#2 Updated by Minoru Akagi almost 12 years ago
Another test file is on #5761 (issue before the API merge). The project file in testdata.zip contains a shape layer joined with two excel sheets. On the project loading, the field joins are not fully restored. I can see only fields from "negative" layer in the attribute table. In 1.8, I can see both "positive" and "negative" fields.
#3 Updated by Minoru Akagi almost 12 years ago
PullRequest: https://github.com/qgis/Quantum-GIS/pull/452
#4 Updated by Mathieu Pellerin - nIRV almost 12 years ago
Minoru, I've filed #7271 yesterday, and realizing your work might also cover that issue. I'll try and test things out once your patch is applied to the trunk.
#5 Updated by Denis Rouzaud almost 12 years ago
I just experienced a weird effect: all my joined fields were saved in the project as layer fields...which led to non-access to edition of the layer!
#6 Updated by Anonymous over 11 years ago
- Status changed from Open to Closed
Fixed in changeset 30c343cc89fff575c6c9d98ca3f8e8bcf38a7b75.
#7 Updated by Minoru Akagi over 11 years ago
Closed automatically by the commit messages. Please reopen if problems remain.
#8 Updated by Regis Haubourg over 11 years ago
- Status changed from Closed to Reopened
Hi,
there is no crash anymore, but still nothing working in revision 87572f7.
Styling by category, labeling of joined attributes leads to nothing displayed on map. Feature count and tests of queries in ruled based labeling works OK.
Please don't close such critical bugs without a feedback request before..
Cheers,
Régis
#9 Updated by Minoru Akagi over 11 years ago
regis Haubourg wrote:
Please don't close such critical bugs without a feedback request before..
Sorry, you are right.
Well, in master, I cannot reproduce the issues you've mentioned. Styling and labeling are working well with the attatched/linked testdata.
Could you provide any sample data that express the issues?
#10 Updated by Minoru Akagi over 11 years ago
regis Haubourg wrote:
Styling by category, labeling of joined attributes leads to nothing displayed on map.
I have been able to confirm the issue with joins of PostGIS/Spatialite layer and csv.
#11 Updated by Werner Macho over 11 years ago
manually applied the fix from PhilippeDorelon
this should now be fixed by efe3c55
please test and close this bug if everything works as expected
#12 Updated by Minoru Akagi over 11 years ago
#13 Updated by Mathieu Pellerin - nIRV over 11 years ago
Per Werner Macho's comment, who indicates a commit has fixed the issue discussed here, can we close?
#14 Updated by Regis Haubourg over 11 years ago
- Status changed from Reopened to Closed
- % Done changed from 0 to 100
OK to me, thanks guys.