Commit ccec16d1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

_getTypeBasedMethod now uses transactional variable cache, not erp5_content_long cache.

parent e9f270de
...@@ -167,9 +167,6 @@ return '%s\\n%s %s COUNTRY' % \\ ...@@ -167,9 +167,6 @@ return '%s\\n%s %s COUNTRY' % \\
(context.getStreetAddress(), (context.getStreetAddress(),
context.getZipCode(), context.getCity()) 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, def stepCheckAddressAsTextScript(self, sequence=None,
sequence_list=None, **kw): 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