<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/document/test/document_test2.yml, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[REM] document directories</title>
<updated>2015-07-12T11:52:08+00:00</updated>
<author>
<name>Antony Lesuisse</name>
<email>al@openerp.com</email>
</author>
<published>2015-07-12T00:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=3ced0ff61bd5b48e8846c30dc8a972a81f1688f4'/>
<id>3ced0ff61bd5b48e8846c30dc8a972a81f1688f4</id>
<content type='text'>
Keeping the attachments widget on form views and document indexation (currently
limited to pdf/odt).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keeping the attachments widget on form views and document indexation (currently
limited to pdf/odt).
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] Cleanup and refactoring of exception handling</title>
<updated>2015-01-16T16:15:18+00:00</updated>
<author>
<name>Goffin Simon</name>
<email>simon.goffin@outlook.com</email>
</author>
<published>2014-12-18T15:38:09+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0fd773a486fbc1aeef7f00ec5eab3eaf0e4c6a9d'/>
<id>0fd773a486fbc1aeef7f00ec5eab3eaf0e4c6a9d</id>
<content type='text'>
Unify and refactor exception handling in framework and addons.

The generic `except_osv` is now deprecated, and replaced by more specialized exception subtypes:
 - `UserError` (renamed from Warning, as it conflicts with the built-in `Warning`) raised when a non-technical error occurs during a business operation. It could be a missing information in the data provided by the user, or a misconfiguration.
 - `AccessError`: raised when any operation is denied because the user conducting it does not have the required access rights.
 - `AccessDenied`: raised when an operation that requires authenticated access is attempted via an unauthenticated request.
 - `MissingError`: raised when an operation is attempted on a record that does not exist.
 - `ValidationError`: raised when an operation violates a SQL or Python constraint.
 - All other exceptions are internal errors due to a system problem or bug, and raised untouched to the client-side, which should display a traceback.

All exceptions take a single message argument.

The `test_exceptions` module has been updated to showcase both new and old (deprecated) exceptions.

A great many old `except_osv` had a useless title with "Error!" or "Warning", those have been removed, as this is handled by the client-side widget that displays the messages.

This commit introduces a more consistent policy for logging errors and warnings:
 - All messages that do not require administrator attention should be logged at INFO level or lower. This includes all errors that are notified to the user in a friendly manner, even for access right problems or validation errors during business operations.
 - All messages that indicate a likely misconfiguration or malicious use by the users should be logged at WARNING level, as they typically require administrator attention.
 - All other unhandled internal errors cannot typically be handled by the user and should be logged at ERROR or higher level, as they require immediate administrator attention.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unify and refactor exception handling in framework and addons.

The generic `except_osv` is now deprecated, and replaced by more specialized exception subtypes:
 - `UserError` (renamed from Warning, as it conflicts with the built-in `Warning`) raised when a non-technical error occurs during a business operation. It could be a missing information in the data provided by the user, or a misconfiguration.
 - `AccessError`: raised when any operation is denied because the user conducting it does not have the required access rights.
 - `AccessDenied`: raised when an operation that requires authenticated access is attempted via an unauthenticated request.
 - `MissingError`: raised when an operation is attempted on a record that does not exist.
 - `ValidationError`: raised when an operation violates a SQL or Python constraint.
 - All other exceptions are internal errors due to a system problem or bug, and raised untouched to the client-side, which should display a traceback.

All exceptions take a single message argument.

The `test_exceptions` module has been updated to showcase both new and old (deprecated) exceptions.

A great many old `except_osv` had a useless title with "Error!" or "Warning", those have been removed, as this is handled by the client-side widget that displays the messages.

This commit introduces a more consistent policy for logging errors and warnings:
 - All messages that do not require administrator attention should be logged at INFO level or lower. This includes all errors that are notified to the user in a friendly manner, even for access right problems or validation errors during business operations.
 - All messages that indicate a likely misconfiguration or malicious use by the users should be logged at WARNING level, as they typically require administrator attention.
 - All other unhandled internal errors cannot typically be handled by the user and should be logged at ERROR or higher level, as they require immediate administrator attention.
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] document: duplicate directory detection should work even when a record rule prevent user from seeing duplicates</title>
<updated>2013-12-16T12:39:54+00:00</updated>
<author>
<name>Xavier ALT</name>
<email>xal@openerp.com</email>
</author>
<published>2013-12-16T12:39:54+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=6fab66d6f71b3ec08c9d5b1764fc03feaa1a6be9'/>
<id>6fab66d6f71b3ec08c9d5b1764fc03feaa1a6be9</id>
<content type='text'>
bzr revid: xal@openerp.com-20131216123954-px10qz9g3qxng6c6</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: xal@openerp.com-20131216123954-px10qz9g3qxng6c6</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup tests</title>
<updated>2012-12-17T01:56:51+00:00</updated>
<author>
<name>Antony Lesuisse</name>
<email>al@openerp.com</email>
</author>
<published>2012-12-17T01:56:51+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=45ce2234577fc5df16c25ebe45a9e4f5597f3213'/>
<id>45ce2234577fc5df16c25ebe45a9e4f5597f3213</id>
<content type='text'>
bzr revid: al@openerp.com-20121217015651-qdw4iugzh9ghwv19</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: al@openerp.com-20121217015651-qdw4iugzh9ghwv19</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup tests</title>
<updated>2012-12-17T01:45:19+00:00</updated>
<author>
<name>Antony Lesuisse</name>
<email>al@openerp.com</email>
</author>
<published>2012-12-17T01:45:19+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=92e8304acb06acf44bccded929bf8d9c2b7c0c81'/>
<id>92e8304acb06acf44bccded929bf8d9c2b7c0c81</id>
<content type='text'>
bzr revid: al@openerp.com-20121217014519-fwr5otel8qwlevaz</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: al@openerp.com-20121217014519-fwr5otel8qwlevaz</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] document: removed dangerous and useless commits</title>
<updated>2011-11-30T12:02:39+00:00</updated>
<author>
<name>Olivier Dony</name>
<email>odo@openerp.com</email>
</author>
<published>2011-11-30T12:02:39+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c5c88c43c07dfb2ef2f3def2bd9441a3cbd1fba0'/>
<id>c5c88c43c07dfb2ef2f3def2bd9441a3cbd1fba0</id>
<content type='text'>
These commits were introduce mostly at revision 
1849.1.1 revid:hmo@tinyerp.com-20081111052750-zqzvr6oaihvt103t
in an attempt to fix an issue with transactions
originating from FTP connections.
This was wrong: the virtual FTP filesystem should
perform its own transaction management for each
operation, just like the RPC layer does it for
each request. Forcing a commit in the business
code during the course of a normal transaction is
totally *forbidden*!
In addition, the FTP layer now properly manages
its transactions, so the commit calls were useless
anyway.

bzr revid: odo@openerp.com-20111130120239-5fcavvpd14w056zb</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These commits were introduce mostly at revision 
1849.1.1 revid:hmo@tinyerp.com-20081111052750-zqzvr6oaihvt103t
in an attempt to fix an issue with transactions
originating from FTP connections.
This was wrong: the virtual FTP filesystem should
perform its own transaction management for each
operation, just like the RPC layer does it for
each request. Forcing a commit in the business
code during the course of a normal transaction is
totally *forbidden*!
In addition, the FTP layer now properly manages
its transactions, so the commit calls were useless
anyway.

bzr revid: odo@openerp.com-20111130120239-5fcavvpd14w056zb</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: make sure folders are deleted after YAML tests</title>
<updated>2010-10-12T10:39:36+00:00</updated>
<author>
<name>P. Christeas</name>
<email>p_christ@hol.gr</email>
</author>
<published>2010-10-12T10:39:36+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=333c1c6ca8c9d473ff5de2f8b02f4238202ffcb6'/>
<id>333c1c6ca8c9d473ff5de2f8b02f4238202ffcb6</id>
<content type='text'>
This will also enable the tests to run multiple times on the same db.

bzr revid: p_christ@hol.gr-20101012103936-d0e7o1b5ppu7kri5</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will also enable the tests to run multiple times on the same db.

bzr revid: p_christ@hol.gr-20101012103936-d0e7o1b5ppu7kri5</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX]: document: Fixed problem of delete tag in yml test + Binary data in yml is needed to be passed encoded, in order to display correctly</title>
<updated>2010-07-30T09:12:40+00:00</updated>
<author>
<name>rpa (Open ERP)</name>
<email>rpa@tinyerp.com</email>
</author>
<published>2010-07-30T09:12:40+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=bacbdf8163b966aa29dd4531f7975a38cd9a92d5'/>
<id>bacbdf8163b966aa29dd4531f7975a38cd9a92d5</id>
<content type='text'>
bzr revid: rpa@tinyerp.com-20100730091240-31ty2auvni191okv</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: rpa@tinyerp.com-20100730091240-31ty2auvni191okv</pre>
</div>
</content>
</entry>
<entry>
<title>Document tests: remove last, empty block</title>
<updated>2010-07-13T20:54:21+00:00</updated>
<author>
<name>P. Christeas</name>
<email>p_christ@hol.gr</email>
</author>
<published>2010-07-13T20:54:21+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=10eea231091570db9740c7fe6b5e7ed640af898e'/>
<id>10eea231091570db9740c7fe6b5e7ed640af898e</id>
<content type='text'>
This just suppresses a warning.

bzr revid: p_christ@hol.gr-20100713205421-th0c0vuohsum3vj8</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This just suppresses a warning.

bzr revid: p_christ@hol.gr-20100713205421-th0c0vuohsum3vj8</pre>
</div>
</content>
</entry>
<entry>
<title>Document: fix typo in test.yml</title>
<updated>2010-07-06T12:10:47+00:00</updated>
<author>
<name>P. Christeas</name>
<email>p_christ@hol.gr</email>
</author>
<published>2010-07-06T12:10:47+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=67386ec78b3fec4bfde55135fa88a2322c3a4804'/>
<id>67386ec78b3fec4bfde55135fa88a2322c3a4804</id>
<content type='text'>
bzr revid: p_christ@hol.gr-20100706121047-p2nex1m3g86nirt6</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bzr revid: p_christ@hol.gr-20100706121047-p2nex1m3g86nirt6</pre>
</div>
</content>
</entry>
</feed>
