- 20 Sep, 2018 2 commits
-
-
Arnaud Fontaine authored
Simulation Tree: SM_PPL AR(Inventory Accounting Transaction) SM_IAT(ledger=A) SM_IAT(ledger=B) Where SM_IAT.isBuildable() returns True iff: * SM_IAT(ledger=A): SM_PPL delivery state == 'started' (Shipped). * SM_IAT(ledger=B): SM_PPL delivery state == 'stopped' (Received). Defining this in a single BP lead to the following Business Links: * BL_PPL_started: - predecessor=trade/ordered - successor=trade/delivery_started - completed_state_list=['started'] - trade_phase=trade/delivery * BL_IAT_ledger_A: - predecessor=trade/delivery_started - successor=trade/inventory_accounted - trade_phase=trade/inventory_accounting - predicate: ledger == A * BL_PPL_delivered: - predecessor=trade/ordered - successor=trade/delivered - completed_state_list=['stopped', 'delivered'] - trade_phase=trade/delivery * BL_IAT_ledger_B: - predecessor=trade/delivered - successor=trade/inventory_accounted - trade_phase=trade/inventory_accounting - predicate: ledger == B This means that SM_PPL will have both BL_PPL_started and BBL_PPL_delivered Business Links as causality which was not handled by isBuildable. Another solution would have been to add this logic on the Builder 'Simulation Select Method' but IMO this should not be done there.
-
Yusei Tahara authored
-
- 19 Sep, 2018 1 commit
-
-
Jérome Perrin authored
/reviewed-on nexedi/erp5!739
-
- 18 Sep, 2018 8 commits
-
-
Vincent Pelletier authored
-
Jérome Perrin authored
/reviewed-on !740
-
Jérome Perrin authored
zope.conf default encoding is also used for responses and converters, so for consistency we should also force default encoding there. This is especially useful when running tests, because zope.conf is not used and default values are used.
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
https://tools.ietf.org/html/rfc4329#section-7 states that text/javascript is obsolete. Doesn't really matter in the end because WebPage_viewAsWeb forces the content type.
-
Jérome Perrin authored
In HTTP/1.1 , when not specified , charset detault to ISO-8859-1 https://tools.ietf.org/html/rfc2616#section-3.7.1 > media subtypes of the "text" type are defined to have a default charset value of "ISO-8859-1" when received via HTTP Zope adds a charset with default encoding ( https://github.com/zopefoundation/Zope/blob/2.13/src/ZPublisher/HTTPResponse.py#L512-L515 ) but does this only for text/ type, but we serve our javascript as application/javascript
-
Jérome Perrin authored
-
- 17 Sep, 2018 18 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Correctly handle multiple interface declarations Reduce DOM modification. Load gadget in an iframe to improve isolation Delay gadget creation to prevent creating hundred of iframes in parallel, which slow down the browser
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Prevent submitting the form if the relation field contains an unknown search string.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Sven Franck authored
-
Sven Franck authored
-
Sven Franck authored
-
Vincent Pelletier authored
_reindexOnCreation API does not expect an expanded activate_kw, but really only an expanded reindex_kw - which may contain its own activate_kw, over which our activate_kw is supposed to take precedence (see Products.ERP5Type.Base.Base._getReindexAndActivateParameterDict). It's all so easy !
-
Vincent Pelletier authored
activate_kw was not honored in immediate indexation code path.
-
Vincent Pelletier authored
Also, tix typo in comment.
-
- 15 Sep, 2018 1 commit
-
-
Julien Muchembled authored
Revert "Folder: call activate on the object instead of portal_activities.activateObject in _recurseCallMethod()." This reverts commits 3d3ec3cb ((+ fixup), which broke recursion to objects that don't inherit ActiveObject, as explained in the docstring. I also think it was wrong in that default activate parameters disappear at the end of the transaction whereas _recurseCallMethod may activate itself to avoid creating to many activities at once. IOW, it's important that created activities are the same no matter where _recurseCallMethod splits the browsing. This change needed more review, as well as a unit test.
-
- 14 Sep, 2018 6 commits
-
-
Sebastien Robin authored
-
Kazuhiko Shiozaki authored
Folder: call activate on the object instead of portal_activities.activateObject in _recurseCallMethod(). so that activate_kw set on the object is respected.
-
Łukasz Nowak authored
The site shall be used with default BT5s.
-
Łukasz Nowak authored
Previous field names came from obsoleted erp5_core_proxy_field_legacy
-
Vincent Pelletier authored
This was the case before commit b41dc8e0 Author: Vincent Pelletier <vincent@nexedi.com> Date: Wed Sep 12 04:00:08 2018 +0200 SQLCatalog_deferFullTextIndex{,Activity}: Use serialization_tag . but I misread the code: when this exception triggered, document was neither added in parameter_dict nor in failed_path_list. It should be now clearer.
-
Vincent Pelletier authored
-
- 13 Sep, 2018 3 commits
-
-
Sebastien Robin authored
This reverts commit fedebf37. Finally, it was an issue in selenium runner software, the wrapper was missing
-
Sebastien Robin authored
-
Sebastien Robin authored
-
- 12 Sep, 2018 1 commit
-
-
Vincent Pelletier authored
Also, why make only 2 queries when I can make 2n+1 queries for the same result ?
-