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

Cannot follow multiple items on single page #2401

Closed
1 task done
cabal95 opened this issue Aug 16, 2017 · 0 comments
Closed
1 task done

Cannot follow multiple items on single page #2401

cabal95 opened this issue Aug 16, 2017 · 0 comments
Assignees
Labels
Priority: High Affects most production Rock installs in a way that will be noticed. Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs. x-Fixed in v6.10
Milestone

Comments

@cabal95
Copy link
Member

cabal95 commented Aug 16, 2017

Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:

Description

If you have multiple follow controls on the same page the script to initialize them will only be generated for the first control. This is due to the fact that the RegisterStartupScript method treats the type + key combination as unique. So if you try to SetFollowing on two Panel controls, only one will get the script generated.

Steps to Reproduce

  1. Place a second Group Detail block on the Group Viewer page.
  2. Try to use the following control of the second block.

Recommendation

Make the key unique by including the control's client identifier.

Use Case

I plan to have a list of items in the block, each item has a star that the user can use to follow that item. Currently working around this by duplicating the SetFollowing method with the recommended change.

Versions

  • Rock Version: 6.8
  • Client Culture Setting: en-US
@cabal95 cabal95 added the Type: Bug Confirmed bugs or reports that are very likely to be bugs. label Aug 16, 2017
@arranf arranf added Priority: High Affects most production Rock installs in a way that will be noticed. Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. labels Sep 9, 2017
azturner pushed a commit that referenced this issue Sep 24, 2017
@crayzd92 crayzd92 added this to the v6 milestone Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High Affects most production Rock installs in a way that will be noticed. Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs. x-Fixed in v6.10
Projects
None yet
Development

No branches or pull requests

5 participants