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

Obsidian Registration Entry Block does not honor block setting for "Family Term" #5876

Open
2 tasks done
treusch opened this issue May 15, 2024 · 0 comments
Open
2 tasks done
Labels
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.

Comments

@treusch
Copy link

treusch commented May 15, 2024

Description

Obsidian Registration Entry Block does not honor block setting for "Family Term". The code ignores the attribute value and attribute default value and just has "immediate family" hard coded in the block.

Actual Behavior

When updating the block setting for "Family Term" the block only displays "Registrant is in the same immediate family as" and does not use the block setting value in place of "immediate family".

This also happens on the Review Registration section when the block attempts to confirm what family the registrar is in, if the registration template is set up as "Prompt for Registrar".

Expected Behavior

The block would utilize the value in the block setting and replace "immediate family" with whatever text was used in the block setting on both the registrant message and the registration review section.

Steps to Reproduce

  1. Go to the external homepage part of the page tree and navigate to the page (or create one) that contains the Obsidian Registration Entry block.

  2. Update the settings on the block so that the "Family Term" is something other than the default value of "immediate family".
    image

  3. Save the block settings.

  4. Create a registration template

  5. Set the Registrar Options under Details to "Prompt for Registrar".

  6. Check the Allow Multiple Registrants check box.

  7. Select "Ask" for the "Registrants in Same Family" option.
    image

  8. Create a registration instance for that template.

  9. Log in to the external site (it also happens if you are not logged in)

  10. Open the page with the obsidian registration entry block on it (from steps 1 & 2 above) and pass in the registration instance id to begin a registration using the new instance you created in step 5.

  11. Choose to register more than one person.

  12. You will see a page that looks like this
    image

  13. "immediate family" should have been replaced with whatever text was updated in the block setting.

  14. Continue the registration and add the additional person/people and when you get to the Review Registration section of the registration, you will see a page that looks like this and again, the "immediate family" family term should have gotten replaced with whatever text was put in the block setting but it will not be.
    image

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug or enhancement is already reported.
  • Try to reproduce the problem on a fresh install or on the demo site.

Rock Version

14.3, 16.2, 16.3, 16.4

Client Culture Setting

en-US

@chead4 chead4 added Type: Bug Confirmed bugs or reports that are very likely to be bugs. Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.
Projects
None yet
Development

No branches or pull requests

2 participants