Project

General

Profile

Bug #4642

"Ny bruger" fejler da ding_registration ikke er default aktiveret

Added by Rolf Madsen 13 days ago. Updated 12 days ago.

Status:
Technical test
Priority:
Urgent
Assignee:
Estimated time:
URL med eksempel:
Kategorier:
Min konto - Login brugeroprettelse

Description

Problemstilling

Ding_registration er ikke aktiveret som default.

Formål

Aktivér ding_registration modulet som default.

Løsningsforslag

Enable ding_registration modulet:

  • Tilføje “module_enable(array(‘ding_registration’));” i et nyt update hook i ding2.install.

Sørg for at indstillinger kommer frem i admin menu for ding_registration modulet:

  • Tilføj "ding/adgangsplatformen/registration" i stedet for "/admin/config/ding/auth/registration" i ding_registration.module.

NB. Adgangsplatformen skal pege på "/registration". dvs det enkelte bibliotek skal selv rette oplysninger i VIP jvf. https://www.danskernesdigitalebibliotek.dk/nyheder/2019/ddb-cms-opdater-jeres-oplysninger-i-vip-basen/

History

#1 Updated by Rolf Madsen 13 days ago

  • Description updated (diff)

#2 Updated by Rolf Madsen 13 days ago

  • Description updated (diff)

#3 Updated by Rolf Madsen 13 days ago

  • Description updated (diff)

#4 Updated by Rolf Madsen 13 days ago

  • Subject changed from Ny bruger funktionen virker ikke (ding_registration) to "Ny bruger" fejler da ding_registration ikke er default aktiveret
  • Description updated (diff)

#5 Updated by Gitte Barlach 13 days ago

DBC gør opmærksom på flg.:

”Det ser ud til, at cms'et sender parameteren idp=nemid, når man klikker "Opret dig som bruger", men den skal være idp=nemlogin, hvis man skal sendes til Nemlog-in.

(https://github.com/ding2/ding2/blob/master/modules/ding_registration/ding_registration.module#L123)

#6 Updated by Gitte Barlach 13 days ago

  • Assignee changed from Christel Krabbenhøft to Kasper Garnæs

#7 Updated by Kasper Garnæs 12 days ago

  • Status changed from Ready for development to Needs code review
  • Assignee changed from Kasper Garnæs to Gitte Barlach

#8 Updated by Christel Krabbenhøft 12 days ago

  • Assignee changed from Gitte Barlach to Jesper Kristensen

#9 Updated by Jesper Kristensen 12 days ago

  • Status changed from Needs code review to Reviewed
  • Assignee changed from Jesper Kristensen to Gitte Barlach

Reviewed and approved

#10 Updated by Gitte Barlach 12 days ago

Vi har patchet rettelsen på aakb.dk og rettet oplysningerne i VIP-basen.

 

Jeg får denne når jeg kommer til siden /registration/acceptance:

TypeError: Argument 1 passed to ding_registration_set_user_information() must be of the type array, null given, called in /data/aegir/platforms/7.x-5.0.1/profiles/ding2/modules/ding_registration/includes/ding_registration.acceptance.inc on line 102 i ding_registration_set_user_information() (linje 270 af /data/aegir/platforms/7.x-5.0.1/profiles/ding2/modules/ding_registration/ding_registration.module).

Fejl

Websitet stødte på en uventet fejl. Prøv venligst igen senere.

 

#11 Updated by Gitte Barlach 12 days ago

  • Status changed from Reviewed to Reviewed - Needs info/rework
  • Assignee changed from Gitte Barlach to Kasper Garnæs

Hej Kasper

Har du mulighed for at se hvad der går galt ?

#13 Updated by Gitte Barlach 12 days ago

  • Description updated (diff)

#14 Updated by Kasper Garnæs 12 days ago

  • Status changed from Reviewed - Needs info/rework to Needs code review
  • Assignee changed from Kasper Garnæs to Gitte Barlach

Jeg har opdateret PR'et.

#15 Updated by Gitte Barlach 12 days ago

  • Assignee changed from Gitte Barlach to Jesper Kristensen

#16 Updated by Gitte Barlach 12 days ago

  • Status changed from Needs code review to Technical test
  • Assignee changed from Jesper Kristensen to Gitte Barlach

Testet på aakb.dk (som vi har patchet) 
Oprettelsesflowet går fint nu, og man bliver oprettet. 

Also available in: Atom PDF