Esri / geoportal-server

Geoportal Server is a standards-based, open source product that enables discovery and use of geospatial resources including data and services.
https://gptogc.esri.com/geoportal
Apache License 2.0
244 stars 149 forks source link

Assigning collection to large result dataset malfunctioning #260

Closed rmbradley closed 7 years ago

rmbradley commented 7 years ago

In addition to issue #176 (which is closed) we are seeing a somewhat similar problem when we assign a collection to a large record set.

The "Apply action to entire result set" does not function when performing the "Share With" action. No records are modified with the intended collection when this option is selected. (Refer to the now closed issue #64. The "Share with" action does work but only on one page of a result set and when the "Apply action to entire result set" is left unchecked. See below:

image

This behavior is not the same as when performing other actions with "Apply action to entire result set" is checked - like setting records to Approved, or setting restrictions. It seems that it works with other pre-1.2.7 Actions.

As a result of this, in order to apply a collection to a large group of records, the action needs to be performed once on each page in the result set.

This is NOT the same behavior that deals with the "Apply action to entire result set" when the result set is being "FILTERED" by a collection. This is an undesirable behavior that occurs when "SETTING" a collection. See below:

image

We are going to be upgrading soon to 1.2.7 and have tested this issue in that version. If a patch to correct this issue could be issued for 1.2.7 that would be great!

rmbradley commented 7 years ago

Hi, Just following up on the status of this issue. Since March 2017 we have been running on 1.2.7 and we are still experiencing this issue. We still have to step through each page of results for each collection we need to assign (there could be several considering our records number in the thousands). Ideally, getting "Apply action to entire result set" working for the "Share With" action on a given Collection would be great.

Thanks on behalf of the BLM Landscape Approach Data Portal Team

zguo commented 7 years ago

implemented in 1.2.8

rmbradley commented 7 years ago

Hi. Thanks for fixing this in the next version. We have recently upgraded to 1.2.7 a few months ago. It is non-trivial for us to upgrade again. Is there a chance we can get the class files and related files if any to implement this in 1.2.7? We have done this with patches in the past.

Thanks,

Rick

On Tue, Jun 13, 2017 at 4:01 PM, ZhongPing Guo notifications@github.com wrote:

implemented in 1.2.8

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Esri/geoportal-server/issues/260#issuecomment-308261744, or mute the thread https://github.com/notifications/unsubscribe-auth/AFLct2QB0Gb0MH55oGZTxW5S9iv93NT-ks5sDwbCgaJpZM4MB9tx .

-- Richard M. Bradley GIS Server Administrator Sanborn Map Company, Inc.

Ethics Lesson: "Take a moment to figure out whether you'd rather be praiseworthy but not praised, or praised but not praiseworthy."

Nicholas Nassim Taleb author of "The Black Swan"

zguo commented 7 years ago

yes we can provide it as a quick fix.

zguo commented 7 years ago

Here is the url for downloading the fix: https://github.com/Esri/geoportal-server/releases/download/v1.2.7/geoportal_1_2_7_qfe1.zip