Ticket #1182 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

osync_capability_set_parameter should accept a list

Reported by: henrik Owned by: dgollub
Priority: highest Milestone: OpenSync 0.40
Component: OpenSync: Format Conversion Version: 0.39
Severity: blocker Keywords:
Cc:

Description

In capabilities.xsd we have an element called Parameter with maxOccurs="unbounded".

In opensync_capability.h/c we have osync_capability_set_parameter which sets ONE parameter.

As far as I can see, it should be possible to have several parameters (such as both Location and Pref for an Address).

Looks like a bug in the capabilities API (i.e. pensync_capability.h/c)

See also the mailing list:  http://old.nabble.com/Questions-about-capabilities-ts26023593.html (item 1)

Change History

comment:1 Changed 2 years ago by dgollub

  • Status changed from new to assigned

comment:2 Changed 2 years ago by dgollub

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [5970]) Introduced osync_capability_add_parameter interface to handle a list of parameters.

fixes #1182

comment:3 Changed 2 years ago by dgollub

JFYI, capability parameter aren't implemented completely yet.

Note: See TracTickets for help on using tickets.