[MAGNOLIA-4069] Delta for 4.5 update contains typos in CheckOrCreatePropertyTask related to realmName property for system and admin userManagers Created: 13/Mar/12  Updated: 03/Apr/12  Resolved: 14/Mar/12

Status: Closed
Project: Magnolia
Component/s: core, security, updatemechanism
Affects Version/s: 4.5.1
Fix Version/s: 4.5.2

Type: Bug Priority: Critical
Reporter: Matt Dertinger Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: core, security, update
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File CoreModuleVersionHandler.java.patch    
Issue Links:
relation
is related to MAGNOLIA-4366 Delta for 4.5.2 update may remove rea... Closed
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Hi,

Currently, within the Delta for the 4.5 update, there are typos in the following two tasks:

CoreModuleVersionHandler.java
register(DeltaBuilder.update("4.5", "")
    ...
    .addTask(new CheckOrCreatePropertyTask("Update system userManager ", "Add the realName property.", RepositoryConstants.CONFIG, "/server/security/userManagers/system", "realName", "system"))
    .addTask(new CheckOrCreatePropertyTask("Update system userManager ", "Add the realName property.", RepositoryConstants.CONFIG, "/server/security/userManagers/admin", "realName", "admin"))

I believe realName should be realmName.

The attached patch updates these tasks correspondingly. Also updated the task name and description params.

Note: I think these tasks may also need to be added to another delta for a future release, for those who already updated to 4.5. This hasn't been included in the attached patch.

Let me know if you have any questions.

Cheers,
Matt


Generated at Mon Feb 12 03:52:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.