Changeset 6794 in josm for trunk


Ignore:
Timestamp:
2014-01-31T20:37:09+01:00 (11 years ago)
Author:
Don-vip
Message:

fix #5783 - DataIntegrityProblemException: "Primitive must be part of the dataset" after successful upload

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r6752 r6794  
    607607        Map<Relation, MemberInfo> roles = new HashMap<Relation, MemberInfo>();
    608608        for (OsmPrimitive primitive: newSel) {
    609             for (OsmPrimitive ref: primitive.getReferrers()) {
     609            for (OsmPrimitive ref: primitive.getReferrers(true)) {
    610610                if (ref instanceof Relation && !ref.isIncomplete() && !ref.isDeleted()) {
    611611                    Relation r = (Relation) ref;
Note: See TracChangeset for help on using the changeset viewer.