[Libreoffice-bugs] [Bug 116953] EDITING: UI: Firebird: Migration: Base fails to call QueryEditor for defined database view
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Jun 10 15:45:11 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116953
Julien Nabet <serval2412 at yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |serval2412 at yahoo.fr
--- Comment #6 from Julien Nabet <serval2412 at yahoo.fr> ---
With Firebird, the pb comes from here:
1748 Reference< XAlterView > xAsAlterableView;
1749 if ( xViews.is() && xViews->hasByName( _rTableOrViewName ) )
1750 xAsAlterableView.set( xViews->getByName( _rTableOrViewName
), UNO_QUERY );
1751
1752 bIsAlterableView = xAsAlterableView.is();
see
https://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/app/AppController.cxx#1748
#0 0x00007fffc9b6c96b in
dbaui::OApplicationController::impl_isAlterableView_nothrow(rtl::OUString
const&) const (this=0x555557c9ed80, _rTableOrViewName="View1")
at
/home/julien/lo/libreoffice/dbaccess/source/ui/app/AppController.cxx:1752
#1 0x00007fffc9b65f7f in dbaui::OApplicationController::GetState(unsigned
short) const (this=0x555557c9ed80, _nId=12317)
at /home/julien/lo/libreoffice/dbaccess/source/ui/app/AppController.cxx:773
#2 0x00007fffc9c333a4 in
dbaui::OGenericUnoController::ImplBroadcastFeatureState(rtl::OUString const&,
com::sun::star::uno::Reference<com::sun::star::frame::XStatusListener> const&,
bool) (this=0x555557c9ed80, _rFeature=".uno:DBEditSqlView",
xListener=uno::Reference to (framework::MenuBarManager *) 0x5555582bd3d0,
_bIgnoreCache=true)
at
/home/julien/lo/libreoffice/dbaccess/source/ui/browser/genericcontroller.cxx:397
Except in hsqldb, searching xAlterVIew returns nothing for Firebird or other DB
types
https://opengrok.libreoffice.org/search?project=core&q=XAlterView&defs=&refs=&path=&hist=&type=
So it seems it's not possible to edit views in those (Mysql, Postgresql...) or
perhaps I missed something?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180610/809f5f12/attachment.html>
More information about the Libreoffice-bugs
mailing list