Details
Assignee
Christine Di BellaChristine Di BellaReporter
Valerie AddonizioValerie AddonizioPriority
MinorHarvest Time Tracking
Open Harvest Time Tracking
Details
Details
Assignee
Christine Di Bella
Christine Di BellaReporter
Valerie Addonizio
Valerie AddonizioPriority
Harvest Time Tracking
Open Harvest Time Tracking
Created January 17, 2024 at 5:16 PM
Updated March 3, 2025 at 9:34 PM
I’d like to submit the following changes to the descriptions of two configurations in the default config.rb, but, I’d like to be sure this is correct, so I’m submitting it in the hopes of someone else testing to verify. I am submitting it as a bug because one part of this improvement highlights a potential error in description.
My colleagues and I have fielded various scenarios over the years that lead us to question how these two configurations are described:
After testing, we’d like to propose two new descriptions and specifically confirm that the
AppConfig[:abstract_note_length]
doesn’t actually affect the collections overview page, meaning its current description isn’t accurate.Proposed descriptions below:
Steps to test:
You will need the ability to alter the config and restart the application.
Pick or create a published scope and content note that is longer than 500 characters.
Navigate to the PUI and search for the collection. Note how many characters are present before the note snippet truncates.
Navigate to the collection page. Note how many characters are present before the Read More break.
Change
AppConfig[:pui_readmore_max_characters]
to something low, like 20Change
AppConfig[:abstract_note_length]
to something high, like 5000Restart and repeat steps above.* Note which configuration affected which set of truncated text. Based on that, verify my propose descriptions as being accurate or not.
* You might have to reindex the PUI or just click Save on the Resource record you’re testing with to see the changes in length. I did not need to reindex after the restart when testing this in docker.