[autoform] Use fieldclass from kwargs in guess_field for non-final relations
This follows up on af969080e7e6 in which a "fieldclass" kwarg has been
added in EntityFieldsForm.field_by_name() before calling guess_field().
In this changeset, this value was only used for final relation but the
way non-final relation actually also changed since we also use
guess_field from these relation (previously, the field class specified
through uicfg was instantiated directly in
EntityFieldsForm.field_by_name()). So in the non-final case in
guess_field() we simply try to retrieve "fieldclass" from kwargs and
fall back to RelationField.
.. _index_module:
:mod:`cubicweb`
===============
.. automodule:: cubicweb
Exceptions
----------
Base exceptions
~~~~~~~~~~~~~~~
.. autoexception:: ProgrammingError
:show-inheritance:
.. autoexception:: CubicWebException
:show-inheritance:
.. autoexception:: InternalError
:show-inheritance:
.. autoexception:: SecurityError
:show-inheritance:
.. autoexception:: RepositoryError
:show-inheritance:
.. autoexception:: SourceException
:show-inheritance:
.. autoexception:: CubicWebRuntimeError
:show-inheritance:
Repository exceptions
~~~~~~~~~~~~~~~~~~~~~
.. autoexception:: ConnectionError
:show-inheritance:
.. autoexception:: AuthenticationError
:show-inheritance:
.. autoexception:: BadConnectionId
:show-inheritance:
.. autoexception:: UnknownEid
:show-inheritance:
.. autoexception:: UniqueTogetherError
:show-inheritance:
Security Exceptions
~~~~~~~~~~~~~~~~~~~
.. autoexception:: Unauthorized
:show-inheritance:
.. autoexception:: Forbidden
:show-inheritance:
Source exceptions
~~~~~~~~~~~~~~~~~
.. autoexception:: EidNotInSource
:show-inheritance:
Registry exceptions
~~~~~~~~~~~~~~~~~~~
.. autoexception:: UnknownProperty
:show-inheritance:
Query exceptions
~~~~~~~~~~~~~~~~
.. autoexception:: QueryError
:show-inheritance:
.. autoexception:: NotAnEntity
:show-inheritance:
.. autoexception:: MultipleResultsError
:show-inheritance:
.. autoexception:: NoResultError
:show-inheritance:
.. autoexception:: UndoTransactionException
:show-inheritance:
Misc
~~~~
.. autoexception:: ConfigurationError
:show-inheritance:
.. autoexception:: ExecutionError
:show-inheritance:
.. autoexception:: BadCommandUsage
:show-inheritance:
.. autoexception:: ValidationError
:show-inheritance:
Utilities
---------
.. autoclass:: Binary
.. autoclass:: CubicWebEventManager
.. autofunction:: onevent
.. autofunction:: validation_error