Smack/smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/provider
Florian Schmaus 0d73c21945 [pubsub] FormNode(Provider) should not fail if there is no DataForm
Error IQ respones may not contain a data form, e.g.

<iq type="error" id="6LXNC-48" from="pubsub.openfire.xmpp.test" to="anno@openfire.xmpp.test/5dsi4g084a">
  <pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
    <configure node="fdp/submitted/spot_report"/>
  </pubsub>
  <error code="403" type="auth">
    <forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
  </error>
</iq>

Also FormNode's toXML() already handled the case where submitForm was
'null'. Only the constructor threw a IAE if submitForm was 'null'.

Fixes SMACK-910.

Closes: https://github.com/igniterealtime/Smack/pull/471
2021-08-23 17:39:59 +02:00
..
AffiliationProvider.java Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
AffiliationsProvider.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
ConfigEventProvider.java Re-work data form API 2020-05-13 20:14:41 +02:00
EventProvider.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
FormNodeProvider.java [pubsub] FormNode(Provider) should not fail if there is no DataForm 2021-08-23 17:39:59 +02:00
ItemProvider.java Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
ItemsProvider.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
PubSubProvider.java Replace XPP3 by XmlPullParser interface wrapping StAX and XPP3 2019-05-06 22:10:50 +02:00
RetractEventProvider.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
SimpleNodeProvider.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
SubscriptionProvider.java Enable MissingJavadocPackage and UnnecessaryParentheses checkstyle checks 2019-07-24 09:18:39 +02:00
SubscriptionsProvider.java Enable trailing whitespace checkstyle check 2018-05-09 23:26:39 +02:00
package-info.java Improve PubSub API 2015-05-12 17:56:06 +02:00