Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
5b1acbb1
Commit
5b1acbb1
authored
Dec 29, 2017
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Base_immediateReindexObject
Replase it by add reindex_on_commit=True in newContent
parent
461b4aac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
product/ERP5Type/tests/testERP5Type.py
product/ERP5Type/tests/testERP5Type.py
+1
-7
No files found.
product/ERP5Type/tests/testERP5Type.py
View file @
5b1acbb1
...
@@ -3263,14 +3263,8 @@ class TestAccessControl(ERP5TypeTestCase):
...
@@ -3263,14 +3263,8 @@ class TestAccessControl(ERP5TypeTestCase):
method
.
setExpression
(
self
.
expression
)
method
.
setExpression
(
self
.
expression
)
method
.
setExpressionInstance
(
Expression
(
self
.
expression
))
method
.
setExpressionInstance
(
Expression
(
self
.
expression
))
createZODBPythonScript
(
self
.
getSkinsTool
().
custom
,
'Base_immediateReindexObject'
,
''
,
'context.immediateReindexObject()'
).
manage_proxy
((
'Manager'
,))
def
test
(
self
):
def
test
(
self
):
self
.
portal
.
person_module
.
newContent
(
).
Base_immediateReindexObject
(
)
self
.
portal
.
person_module
.
newContent
(
reindex_on_commit
=
True
)
def
test_suite
():
def
test_suite
():
...
...
Write
Preview
Markdown
is supported
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