An error occurred fetching the project authors.
- 17 Jul, 2024 1 commit
-
-
Arnaud Fontaine authored
__import__ `fromlist` argument was wrong. It was working anyway with Python2 but not anymore with Python3, raising a `ModuleNotFoundError` exception. According to Python `__import__(name, globals, locals, fromlist)` documentation: When the `name` variable is of the form `package.module`, normally, the top-level package (the `name` up till the first dot) is returned, *not* the module named by `name`. However, when a non-empty `fromlist` argument is given, the module named by `name` is returned. Thus, the following patterns were wrong: * __import__(MODULE_NAME, globals(), locals(), MODULE_NAME) => Iterate through each character of MODULE_NAME as fromlist is expected to be a list/tuple. * __import__(MODULE_NAME, globals(), locals(), [MODULE_NAME]) => This works but actually tries to import MODULE_NAME object from MODULE_NAME module (no error if it cannot). The goal of such __import__ calls were for __import__ to return the right-end module instead of the top-level package. In such case, `fromlist=['']` is the way to go as it __import__ does not check if the object exists in the module if it's an empty string. However, it is even better and easier to read to use importlib.import_module() for that... Also, add `from __future__ import absolute_import` because python2 tries both relative and absolute import (level=-1 __import__ parameter) whereas python3 does absolute import by default (level=0). Co-authored-by: Kazuhiko SHIOZAKI <kazuhiko@nexedi.com>
-
- 05 Mar, 2024 1 commit
-
-
Jérome Perrin authored
When cutting with bytes, we might cut in the middle of a multi-bytes character and later decoding it would cause an error. We could switch to sending bytes encoded to base64, because the limit would be more natural to be number of bytes, but just decoding and cutting the string is easier and in practice not so different. This bug was revealed by testERP5SyncML.TestERP5SyncML.test_28_PartialData with PYTHONHASHSEED 872 and test_28_PartialData with PYTHONHASHSEED 238 ( on python2 )
-
- 31 Jan, 2024 2 commits
-
-
Jérome Perrin authored
Rename SQLCatalog_indexSyncMLDocumentList to ERP5Site_indexSyncMLDocumentList Rename SyncMLDocument_updateURLToCurrentSite to SyncMLSubscription_updateURLToCurrentSite Rename SyncML_searchFolder to SyncMLSubscription_searchFolder Rename SynchronizationTool_viewPointFixe to SynchronizationTool_viewPointFixeDialog
-
Jérome Perrin authored
-
- 29 Apr, 2021 1 commit
-
-
Aurel authored
-
- 02 Jul, 2020 1 commit
-
-
Arnaud Fontaine authored
To avoid too generic names for Products.ERP5SyncML.{Engine,Transport}, prefix the ZODB Components references with SyncML{Engine,Transport}.
-
- 04 Jun, 2014 1 commit
-
-
Aurel authored
-
- 20 Mar, 2013 1 commit
-
-
Aurel authored
Complete rewrite of the syncml core engine to make it scallable Remaining work : - review of conflict management - re-implement splitting of big object - generic unit test for AsynchronousEngine - complete review of default conduit - lot of TODO and XXX in the code to check
-
- 06 Sep, 2011 1 commit
-
-
Nicolas Delaby authored
imp.load_source does not compile dependencies
-
- 04 Feb, 2011 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43048 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Jul, 2010 1 commit
-
-
Sebastien Robin authored
Conflicts: bt5/erp5_base/bt/revision bt5/erp5_simulation/DocumentTemplateItem/InvoiceSimulationRule.py bt5/erp5_simulation/bt/revision bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary.xml bt5/erp5_trade/bt/change_log bt5/erp5_trade/bt/revision products/ERP5/Document/BusinessPath.py products/ERP5/Document/SimulationMovement.py products/ERP5/Document/TradeCondition.py products/ERP5/Document/TradeModelLine.py products/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision products/ERP5Type/ERP5Type.py git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37129 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 Jul, 2010 1 commit
-
-
Aurel authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36898 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 31 May, 2010 7 commits
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35813 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35812 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35811 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
Only GID means something for both part. ie. <object id="foo"/> become <object gid="2340234098"/> git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35810 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35809 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35808 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
_createAddOrReplaceNode git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35807 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Apr, 2010 1 commit
-
-
Aurel authored
method pass domain parameter to addNode method git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34383 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Feb, 2010 1 commit
-
-
Danièle Vanbaelinghem authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32178 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Oct, 2009 2 commits
-
-
Danièle Vanbaelinghem authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30126 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Danièle Vanbaelinghem authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30120 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Oct, 2009 1 commit
-
-
Danièle Vanbaelinghem authored
Use a default namespace to retrieve the Status git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30054 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 Oct, 2009 2 commits
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29550 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
remove python-2.3 compatibility code because we no longer support python-2.3 and encodestring() is b64encode not b16encode. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29549 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Oct, 2009 3 commits
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29489 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
This avoid conflict between SyncML Stream and carried Data in xml w/o prefix. Carried data must never belong to SyncML namespace even for NonQualified XML. before: <SyncML xmlns="SYNCML:SYNCML1.2"> ...<object portal_type="Person" id="1"> ... </object> </SyncML> after: <syncml:SyncML xmlns:syncml="SYNCML:SYNCML1.2"> ...<object portal_type="Person" id="1"> ... </object> </syncml:SyncML> git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29478 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
XML namespaces handling will be redesign soon git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29474 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Sep, 2009 1 commit
-
-
Danièle Vanbaelinghem authored
when the xml_partial is too long. Use the pointers of Pdata for it and not of simple string. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29310 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Sep, 2009 1 commit
-
-
Danièle Vanbaelinghem authored
Use a Pdata instead of the simple string git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29209 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Sep, 2009 1 commit
-
-
Danièle Vanbaelinghem authored
During a 'slow sync' synchronisation it retrieve data while before it delete data and add it git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29144 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 03 Aug, 2009 1 commit
-
-
Danièle Vanbaelinghem authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28255 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Jul, 2009 1 commit
-
-
Danièle Vanbaelinghem authored
Add default Namespace Add Conduit for Documents 2009-05-26: Move a getXMLFromObject to be overriden by specialized conduits Create PointFixe in the tests 2009-06-02: Split file Subscription.py to create Conflict.py and Signature.py Use activities in the test testSyncML 2009-06-17: Create a test for synchronize some documents 2009-07-10: Change the Final of the synchronisation for the synchronisation with datas from the Subscription git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28229 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 01 Feb, 2009 1 commit
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25407 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 29 Jan, 2009 1 commit
-
-
Nicolas Delaby authored
- remove unused arguments and obselete code git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25371 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Jan, 2009 1 commit
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25356 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Jan, 2009 1 commit
-
-
Nicolas Delaby authored
It's usefull to have pretty_print working when serialize git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25285 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 21 Jan, 2009 1 commit
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25224 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Jan, 2009 1 commit
-
-
Nicolas Delaby authored
- replace 4Suite by lxml - use new None type - store Partial Data in CDATA node instead a Comment node (avoid replacement of '--' by '@-@@-@') - list type are loads with marshaler - several optimisations, clean useless code - testERP5SyncML ran 33% faster than before. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25205 20353a03-c40f-0410-a6d1-a30d3c3de9de
-