Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Amer
erp5
Commits
fd28ecaf
Commit
fd28ecaf
authored
Jul 16, 2015
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_full_text_mroonga_catalog: don't raise if document is not converted
parent
40220b0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
bt5/erp5_full_text_mroonga_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_deferFullTextIndexActivity.xml
...p5_mysql_innodb/SQLCatalog_deferFullTextIndexActivity.xml
+3
-0
No files found.
bt5/erp5_full_text_mroonga_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_deferFullTextIndexActivity.xml
View file @
fd28ecaf
...
@@ -53,6 +53,7 @@
...
@@ -53,6 +53,7 @@
<value>
<string>
from Products.ERP5Type.Utils import UpperCase\n
<value>
<string>
from Products.ERP5Type.Utils import UpperCase\n
from ZODB.POSException import ConflictError\n
from ZODB.POSException import ConflictError\n
from zExceptions import Unauthorized\n
from zExceptions import Unauthorized\n
from Products.ERP5.Document.Document import NotConvertedError\n
\n
\n
method = context.z_catalog_fulltext_list\n
method = context.z_catalog_fulltext_list\n
property_list = method.arguments_src.split()\n
property_list = method.arguments_src.split()\n
...
@@ -78,6 +79,8 @@ for path in path_list:\n
...
@@ -78,6 +79,8 @@ for path in path_list:\n
raise\n
raise\n
except Unauthorized: # should happen in tricky testERP5Catalog tests only \n
except Unauthorized: # should happen in tricky testERP5Catalog tests only \n
continue\n
continue\n
except NotConvertedError:\n
continue\n
except Exception, e:\n
except Exception, e:\n
exception = e\n
exception = e\n
failed_path_list.append(path)\n
failed_path_list.append(path)\n
...
...
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