[MGNLSTK-1544] Remove dependency to Admin-Legacy over pur-legacy Created: 08/Sep/16  Updated: 06/Dec/16  Resolved: 05/Dec/16

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.1

Type: Task Priority: Neutral
Reporter: Michael Mühlebach Assignee: Philip Mundt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLSTK-1545 Double-opt-in examples should use PUR... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Phase out Admin-interface Legacy
Sprint: Basel 73
Story Points: 13

 Description   

We will have to replace the old PUR-legacy functionality with the new one. The following elements still use it:

  • stkPURLoginForm
    • dialog has custom fields that can be replaced with the ones from PUR and
    • template definition uses legacy modelClass=info.magnolia.module.publicuserregistration.frontend.action.AuthenticationModel
    • ftl template uses model logic
  • stkPURAuthSubmit, stkPURNotAuthSubmit, stkPURIntranet
    • template definitions still reference legacy modelClass=info.magnolia.module.publicuserregistration.frontend.action.RegistrationFieldModel and
    • use the model logic/methods in their ftl templates
  • stkPURPasswordChangeForm, stkPURPasswordForm, stkPURRegistrationForm and stkPURUpdateForm
    • use legacy modelClass=info.magnolia.module.publicuserregistration.frontend.action.RegistrationModel which needs to be replaced with modelClass=info.magnolia.module.form.templates.components.FormModel
  • STK's double-opt-in example still uses the legacy registration page (/.magnolia/pages/user-validation.html) and therefore needs adjustment. The new method is using a form processor (see EnableUserByUuidProcessor).
    • We need to provide a new form component which provide above form processor.
  • Password retrieval strategy still uses legacy parameter targetPage instead of targetPagePath and also references the password-reset-email template from PUR-legacy.
  • Reference to /.resources/0.gif from admininterface-legacy in components/teasers/promo.ftl
  • stkForumLoginForm still has legacy model logic in components/forum/login.ftl which needs replacement (see above stkPURLoginForm, component inherits from it)

Generated at Mon Feb 12 07:37:35 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.