Issue 69326 - IDL: allow to include optional, non-published interfaces (and services) in published services
Summary: IDL: allow to include optional, non-published interfaces (and services) in pu...
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: chne
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-06 12:49 UTC by Frank Schönheit
Modified: 2013-02-24 21:09 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
IDL to test (188 bytes, text/plain)
2008-06-20 11:09 UTC, chne
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2006-09-06 12:49:50 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).
Comment 1 jsc 2006-10-18 09:11:06 UTC
accepted
Comment 2 Frank Schönheit 2007-03-12 12:18:49 UTC
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 ...
Comment 3 kyoshida 2007-07-20 16:52:30 UTC
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.
Comment 4 Martin Hollmichel 2008-01-25 16:43:40 UTC
set target 3.0
Comment 5 jsc 2008-02-13 14:54:39 UTC
fixed on cws jsc21

idlc allows now to add optional interfaces to published old style services
Comment 6 Frank Schönheit 2008-02-13 15:31:35 UTC
Many Thanks!
Comment 7 chne 2008-06-20 11:08:43 UTC
ok in cws => verified
Comment 8 chne 2008-06-20 11:09:50 UTC
Created attachment 54627 [details]
IDL to test
Comment 9 jsc 2008-07-10 15:59:39 UTC
change owner to cn who has verified the issue
Comment 10 chne 2008-09-03 15:25:20 UTC
ok in master => close