Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2525 closed defect (fixed)

Access Memebers funktioniert nicht

Reported by: berger Owned by: comvation
Priority: normal Milestone: Cloudrexx 5.0
Component: Access Version: trunk
Severity: normal Keywords:


Wenn bei den Profilattributen ein zusätzliches Attribut mit dem Typen "Auswahlmenu" erstellt wird, kann im eingeloggten Zustand die Seite "Access Memebers" nicht mehr angezeigt werden.

Der Fehler scheint in der access/lib/AccessLib.class.php in der Funktion parseAttribute() zu sein. Es scheint als könnte $arrPlaceholders nicht erstellt werden.

Change History (3)

comment:1 Changed 7 years ago by berger

  • Milestone set to Cloudrexx 5.0
  • Version changed from 4.0 to trunk

fixed in e9d3c131d20f3b254c7c7bf29477d400af75dabd in trunk and [ca056c3] in branch contrexx_4_0

fix: core_modules/access/lib/AccessLib.Class.php ~row120

replace: $objSelectedAttribute = $objAttribute->getById($objUser->getProfileAttribute($objAttribute->getId(), $historyId));

with: if menu is not set, the function returns false and we need to set 0 "Please select" as selected value if($objUser->getProfileAttribute($objAttribute->getId(), $historyId) !== false){

$objSelectedAttribute = $objAttribute->getById($objUser->getProfileAttribute($objAttribute->getId(), $historyId));


$objSelectedAttribute = $objAttribute->getById(0);


Version 2, edited 7 years ago by michael.ritter (previous) (next) (diff)

comment:2 Changed 7 years ago by berger

  • Resolution set to fixed
  • Status changed from new to closed

comment:3 Changed 7 years ago by berger

its not ~row120 it is ~row1020

Note: See TracTickets for help on using tickets.