Skip to content

Mapping bug introduced in 4.6 #3536

@raprasad

Description

@raprasad

Once a file is mapped the user no longer sees a "Map Data" button--therefore the map cannot be further edited or deleted.

Usual sequence for user with edit file permissions:

  1. Before mapping, user sees:
      1. "Map Data" button (map creation)
  2. After successful mapping, user sees:
      1. "Map Data" button (edit/delete map)
      1. "Explore" button (view map)
  • Bug: After mapping, user no longer sees (2a) "Map Data" button

This was likely introduced when code was factored out of the dataset page for sharing between the dataset and file pages. (Seeing this on local build using develop and in production).


"The Fix"

In WorldMapPermissionHelper.java remove lines 465-467

        if (this.hasMapLayerMetadata(fm)){
            return false;
        }

screen_shot_2016-12-16_at_9_53_42_am

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions