-
Notifications
You must be signed in to change notification settings - Fork 0
Description
This is the flow of events:
client = Openfire::Client.new('http://192.168.11.205:9090', 'a_shared_secret')
user = client.users.find("bogus")
=> #<Openfire::Ruby::User(users) username="bogus" name="H. Bogus" email="[email protected]" password=nil properties=[]>
user.name="Henry Bogus"
=> "Henry Bogus"
user.save
=> false
user.response_errors
=> []
user.save!
1: from /var/lib/gems/2.5.0/gems/her-1.0.2/lib/her/model/orm.rb:59:in `save!'
Her::Errors::ResourceInvalid (Remote validation failed: )
So, I can create and pull records (read them), but I cannot seem to save them or update them in any way. Again, I can create records just fine. I suppose I could read in one record ... transfer the attributes over to a new one and do that -- but that's pretty nasty way to do this. I need working update functionality. Question is -- am I doing something wrong?
Thanks,
mistergibson