Ignore:
Timestamp:
2010-01-12T08:58:43+01:00 (14 years ago)
Author:
Gubaer
Message:

fixed #4328: No visible error message when trying to upload to a closed changeset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/UploadPrimitivesTask.java

    r2801 r2825  
    316316                if (lastException instanceof ChangesetClosedException) {
    317317                    ChangesetClosedException e = (ChangesetClosedException)lastException;
     318                    if (e.getSource().equals(ChangesetClosedException.Source.UPDATE_CHANGESET)) {
     319                        handleFailedUpload(lastException);
     320                        return;
     321                    }
    318322                    if (strategy.getPolicy() == null)
    319323                        /* do nothing if unknown policy */
Note: See TracChangeset for help on using the changeset viewer.