SparkDevNetwork / Rock

An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
http://www.rockrms.com
572 stars 347 forks source link

Entity Attributes Attribute List Entity Type Changes #2235

Closed smross closed 5 years ago

smross commented 7 years ago

Prerequisites

Description

Filter Option of Entity Type does not obey the normal UI expectation for a "blank" value in the Entity Type picker (/page/193)

Steps to Reproduce

  1. Login to Rock
  2. Go to Admin Tools
  3. Go to System Settings
  4. Go to Entity Attributes
  5. Select the drop-down for Filter Options entity attributes _ rock rms - google chrome 2017-06-02 09 11 09
  6. Change from an entity type in the list or None (Global Attributes) to the Blank setting (no text) entity attributes _ rock rms - google chrome 2017-06-02 09 12 14 entity attributes _ rock rms - google chrome 2017-06-02 09 12 44
  7. Select the Apply Filter button

Expected behavior:

When selecting the Blank entry the expectation is that ALL Entity Attributes would be listed, regardless of Entity Type or Category

Actual behavior:

Only the 'Entity Type' of 'None (Global Attributes)' is applied, apparently as a filter, even though none is selected

Versions

cabal95 commented 7 years ago

Confirmed on our own install. @smross is correct, it appears that a blank filter is treated as None (Global Attributes) rather than show all.

nairdo commented 5 years ago

We've reviewed this change request. Since the Attributes block now has an entity type selector (if no Entity Type is set via the block's settings), it is not intended to show all attributes system wide without selecting the type.

Also, I recently fixed a bug in this block via https://github.com/SparkDevNetwork/Rock/commit/a437d3e386b6abb5f48c8183db59dcdc9379b85a so it will behave as designed in the 8.5 hotfix.

image

smross commented 5 years ago

Great idea on the selector. That's a better solution, and makes the block (and page) more usable anyways!