Commit 1311b0d1 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Flush cache after creating a script.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17542 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ba17b1d0
......@@ -170,6 +170,9 @@ return '%s\\n%s %s' % \\
(context.getStreetAddress(),
context.getZipCode(), context.getCity())
""")
# Flush the cache because _getTypeBasedMethod caches the result,
# so that script will not be used.
self.getPortal().portal_caches.clearCache(cache_factory_list=('erp5_content_long',))
def stepCheckAddressAsTextScript(self, sequence=None,
sequence_list=None, **kw):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment