pnp / custom-learning-office-365

Microsoft Learning Pathways end user learning solution for Microsoft 365 customers.
MIT License
228 stars 209 forks source link

(Not a Content Pack) Edits to a custom category/playlist/Asset within Microsoft 365 Learning Pathways doesn't hide properly after its saved #727

Closed lamargardner565 closed 1 year ago

lamargardner565 commented 1 year ago

ISSUE: Editing an Asset within LP site causes all LP content to be viewable to all users, regardless of view settings.

DESCRIPTION: When a playlist is edited within the LP site, once the asset is saved, all tiles in the MS Learning Pathways solution is viewable to site visitors, even where many of those assets should be hidden.

(This is not a Content Pack. This is an out of the box creation of Categories and subcategories)

APP DETAILS: Microsoft 365 Learning Pathways version 4.3.1.0, release date February 2023

image

image

STEPS TO REPRODUCE:

Ensure the LP Home page, or [Learning Pathways Viewer page], is displaying the correct tiles image

image

Navigate to the [CustomLearningAdmin]) Page in LP, select a subcategory and select a Playlist within that subcategory

image

image

Scroll down to Playlist Assets and make a change and revert (in order to trigger/unghost the Save Asset button). In the example below, I changed “Teams” to “Teamz” and back to “Teams” to allow a new save, just for testing. Note that any change/addition/deletion, whether reverted or kept, will introduce this issue.

image

Navigate back to the Home/HUB page, or [Learning Pathways Viewer page], and note the web part now displays ALL content, even though the admin page indicates they should be hidden.

image

WORKAROUND:

To remediate this issue, navigate to the [Customer Learning Admin] page in LP and toggle the visibility of a subcategory to trigger the admin page to auto save. Note this is not a viable workaround solution, as customers will be able to view all hidden content until they reload the page.

image

The Home tiles then display the correct viewable content:

image

Additional context Add any other context about the problem here.

Can you please provide context to why this is happening? Is this normal behavior?

juliemturner commented 1 year ago

Duplicate #726

github-actions[bot] commented 1 year ago

This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.