Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
person
Commits
d0b1790ed987
Commit
67d4904f
authored
May 22, 2014
by
Julien Cristau
Browse files
[views] fix AddPersonFromEmailAction (closes #3851154)
LinkToEntityAction expects target_etype to be set, not etype.
parent
2401810fe229
Changes
1
Hide whitespace changes
Inline
Side-by-side
views.py
View file @
d0b1790e
...
...
@@ -118,7 +118,7 @@ class AddPersonFromEmailAction(action.LinkToEntityAction):
&
score_entity
(
lambda
x
:
not
x
.
reverse_use_email
))
title
=
_
(
'add Person use_email EmailAddress object'
)
etype
=
'Person'
target_
etype
=
'Person'
rtype
=
'use_email'
target
=
'subject'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment