Apache OpenOffice (AOO) Bugzilla – Issue 69326
IDL: allow to include optional, non-published interfaces (and services) in published services
Last modified: 2013-02-24 21:09:30 UTC
Trying to add an [optional] interface XFoo; to a service which is already published (i.e. has the "published" keyword), results in an error message from the IDL compiler, saying an unpublished entity cannot be used in the declaration of a published entity: '<interface>' As agreed, we should relax this that adding *optional* unpublished entities would still be allowed. The alternative for the IDL designer would be to document this additional, optional interface in the comments only, which has the disadvantage that it would be reflected nowhere - in particular not in the UNO type repository - except in the generated IDL documentation (which is nice, but not sufficient).
accepted
It would be great if this could be fixed timely. I again ran into this problem with another CWS/IDL, and it's unsatisfying to again work around this problem by describing the new optional elements in the services description only ...
I also would like an optional, unpublished interface to be allowed in a published service. There are many use cases where allowing this would make sense, and without that, extending the UNO API becomes a chore.
set target 3.0
fixed on cws jsc21 idlc allows now to add optional interfaces to published old style services
Many Thanks!
ok in cws => verified
Created attachment 54627 [details] IDL to test
change owner to cn who has verified the issue
ok in master => close