Merge commit 'f2e0fb509a' into WebGUI8. Some tests still failing.
This commit is contained in:
commit
385931aaab
92 changed files with 1966 additions and 650 deletions
|
|
@ -21,6 +21,7 @@ use WebGUI::Workflow::Instance;
|
|||
use JSON ();
|
||||
use WebGUI::ProfileField;
|
||||
use Tie::CPHash;
|
||||
use Scalar::Util qw( weaken );
|
||||
|
||||
=head1 NAME
|
||||
|
||||
|
|
@ -1070,6 +1071,7 @@ sub new {
|
|||
my $self = $session->cache->get("user_" . $userId) || {};
|
||||
bless $self, $class;
|
||||
$self->{_session} = $session;
|
||||
weaken( $self->{_session} );
|
||||
unless ($self->{_userId} && $self->{_user}{username}) {
|
||||
my %user;
|
||||
tie %user, 'Tie::CPHash';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue