Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown selection of playlist item is not working in V5 #850

Open
adriangoszczynski opened this issue Oct 8, 2024 · 12 comments
Open

Dropdown selection of playlist item is not working in V5 #850

adriangoszczynski opened this issue Oct 8, 2024 · 12 comments

Comments

@adriangoszczynski
Copy link

Describe the bug

Nothing happens if I change playlist using dropdown menu in the webpart. In the Developer Tools webpart following error appears:
M365LP:CustomLearning (_selectAsset) - TypeError: Cannot read properties of undefined (reading 'Id')

To Reproduce

Update Learning Pathways to V5 and try to change playlist item with dropdown menu.

Expected behavior

Once another item is selected, webpart should switch to it.

Learning Pathways version number

5.0.0.4

Additional context

Previous and Next buttons works as expected.

@dcashpeterson
Copy link
Contributor

@adriangoszczynski thanks for reporting this. Can you please provide more details? I tested this with the out of the box playlists and using the drop down worked fine. Is there a specific playlist you found that it wasn't working in?

@adriangoszczynski
Copy link
Author

@dcashpeterson yeah, it works fine for the oob list, but we are using it with custom subcategories and playlists, in this case it is not working.

@adriangoszczynski
Copy link
Author

@dcashpeterson additionally, I just found that if you choose to setup webpart with specific playlist, you can see only one playlist per subcategory

image

@Emac725
Copy link

Emac725 commented Oct 15, 2024

I have the same issue, however with the update I can't even open the ///sites/M365LP/SitePages/CustomLearningAdmin.aspx,
I get a File not found 404 error and we can't seem to roll the update back.

@AndyHuneycutt-AH
Copy link

Hi @dcashpeterson I can add to the issue. The Select a filter > Playlist | Filter to Playlist only returns the first item from the subcategory. Including a screenshot:

On the left you can see I have two playlists under the subcategory. On the right only the first playlist is showing:
Screenshot 2024-10-15 at 5 00 34 PM

@dcashpeterson
Copy link
Contributor

Thanks folks. I'll look at this and report back when I have something to report.

@Emac725
Copy link

Emac725 commented Oct 18, 2024

My issue is related but slightly different.
For Custom Playlists, before the update, I could select a category from the drop-down menu which would auto display below. Now I must use the Next or Back buttons to advance to each category within the playlist.
dropdown in Training site

@dcashpeterson
Copy link
Contributor

@adriangoszczynski This issue is in progress.

@droogsdontrun
Copy link

Is the issue that Emac725 raised sorted out yet? I'm seeing the same behaviour.

@dcashpeterson
Copy link
Contributor

This is in progress. I am working on fixing both bugs.

@StuatElliottAdams
Copy link

I don't suppose we have a rough fix date on this issue do we?

@dcashpeterson
Copy link
Contributor

@StuatElliottAdams, @droogsdontrun, @Emac725 I apologize for the delay. This is a community project so we work on this in our free time. Unfortunately, I have not had a chance to make the fix. If you are a developer and want to take a stab at fixing it I am happy to accept a PR. I will update the issue when I have a fix ready for release. Again, I apologize for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants