Hi George,

please find the patch for restful about voicemail operator services in
attachment. Let me know if something is missing or wrong

Thank you

Luciano Berardi




2012/12/21 Luciano Berardi <luciano.bera...@sip2ser.it>

> Sure,
>
> actually I've already tried to remove the property from the bean
> descriptor, in this way it sets the operator as expected. I'm not sure that
> removing the property is the correct solution but the mailbox management
> seems something different from personal auto-attendant operator
> setting (please confirm that this is correct or I'm misunderstanding
> something).
> Running the tests suite seems to be all correct, is the test suite in
> sipXconfig, covering also the rest API part?
>
> Thanks
>
>
> 2012/12/21 George Niculae <geo...@ezuce.com>
>
>> On Fri, Dec 21, 2012 at 1:10 PM, Luciano Berardi <
>> luciano.bera...@sip2ser.it> wrote:
>>
>>> Thank you George,
>>>
>>> I' m walking through API and I found some problem with the
>>> "my/voicemail/operator/{operator}" request. The property mailboxManager
>>> declared in the rest.bean.xml file is not managed in the java class
>>> (personalAttendantOperatorResource)
>>>
>>> <html>
>>> <head>
>>> <title>Error 500 Error creating bean with name
>>> 'personalAttendantOperatorResource' defined in URL
>>> [jar:file:/opt/build/share/java/sipXecs/sipXconfig/sipxconfig-web.jar!/org/sipfoundry/sipxconfig/rest/rest.beans.xml]:
>>> Error setting property values; nested exception is 
>>> *org.springframework.beans.NotWritablePropertyException:
>>> Invalid property 'mailboxManager' of bean class
>>> [org.sipfoundry.sipxconfig.rest.PersonalAttendantOperatorResource]: Bean
>>> property 'mailboxManager' is not writable or has an invalid setter method.
>>> Does the parameter type of the setter match the return type of the getter?
>>> *</title> ....
>>>
>>> Is there a specific reason for this (maybe some future usage)? Or it is
>>> just an error writing the bean descriptor?
>>>
>>>
>> Hi Luciano,
>>
>> it really looks like an error, could you please fix it, test it and make
>> a patch for? Let me know if you need further guidance
>>
>> Thanks,
>> George
>>
>> _______________________________________________
>> sipx-dev mailing list
>> sipx-dev@list.sipfoundry.org
>> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
>>
>
>
>
> --
> Luciano Berardi
>
>


-- 
Luciano Berardi

Attachment: 0001-Deletion-of-useless-property-from-beans-descriptor.patch
Description: Binary data

_______________________________________________
sipx-dev mailing list
sipx-dev@list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to