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

Dataresource contacts: Make Public/Primary Contact settings not working #262

Open
rosemaryjoconnor opened this issue Feb 17, 2025 · 0 comments

Comments

@rosemaryjoconnor
Copy link

rosemaryjoconnor commented Feb 17, 2025

Issues

  1. Make Public flag not functioning: all contacts for dataresources are displaying on public pages regardless of whether the Make Public is checked or not.
  2. Primary Contact flag not functioning: If a contact is not set as Primary Contact it is still displaying on public page. Description of this flag seems to indicate that only contacts with Primary Contact set should display.

Testing has been completed in both Test and Production environments with the issues described being consistent in both environments.

Summary of Production testing

Note: all page checks completed:

  • not logged in to ALA
  • via incognito windows in multiple browsers to eliminate caching issues

Scenario 1

Create new DR with 3 contacts associated. First contact created has Make public set

dr30421: https://collections.ala.org.au/dataResource/show/dr30241
Public Page: https://collections.ala.org.au/public/show/dr30241

Contacts

  • Rosemary O'Connor-Editor-Public - editor : Editor with Make public set Primary Contact not set
  • Rosemary O'Connor-2-Primary-Public - editor : Editor with Make publicset andPrimary Contact` set
  • Rosemary O'Connor-2-Private - editor : Editor with Make Public**not** set andPrimary Contact` not set

Result: all 3 display on the public page

  • Based on the descriptions shown when creating these, only Rosemary O'Connor-2-Primary-Public - editor should display on the public page as it is the primary contact. Likely it's ok for both public contacts but a bit confusing if that's not the case and only primary should display.
  • Rosemary O'Connor-2-Private - editor should not display at all.

Scenario 2

Create new DR with 1 contact associated with Make Public' not set. Checks that issue was not due to first creating an editor contact with the Make Public` set.

dr30422: https://collections.ala.org.au/dataResource/show/dr30242
Public page: https://collections.ala.org.au/public/show/dr30242

Contacts
Rosemary OConnor-Private - Editor with Make public not set and Primary Contact not set

Result: Contact displays on the public page.

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

No branches or pull requests

1 participant