Tinder

Allow unset label in FormField (Data Forms)

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0 - Initial Release
  • Fix Version/s: 1.1 - Concurrency
  • Component/s: None
  • Labels:
    None
  • Acceptance Test - Add?:
    No

Description

The setVarable and setLabel method in org.xmpp.forms.FormField don't work like other setter methods (like setType, setRequired or setDescription in this class or setter methods in other classes). They don't allow to unset the attribute by invoking them with a null parameter.

Issue Links

Activity

Hide
Guus der Kinderen added a comment -

Even though this patch changes the API contract a little, that contract hasn't been in place for long, as Guenther pointed out. Applied the patch.

Show
Guus der Kinderen added a comment - Even though this patch changes the API contract a little, that contract hasn't been in place for long, as Guenther pointed out. Applied the patch.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: