[[Note: The XWiki project is switching away from this mailing list and moving 
to a forum: https://discourse.xwiki.org. This list will be made readonly in a 
few days. Please post on the forum from now on. Thanks.]]

-----
Yes it is the information I needed. The request sent is correct. I don't
understand why you get this 500 error.

2017-05-16 10:29 GMT+02:00 Marcio Barreto <marcio.barr...@first-global.com>:

> We're switching away from this mailing list and moving to a forum:
> https://discourse.xwiki.org. This list will be made readonly in a few
> days. Please post on the forum from now on. Thanks.
> Hi,
>
> Thnak you for your time, is this info you need?
>
>
> Request
> URL:http://wiki.XXX.com/xwiki/rest/wikis/xwiki/spaces/XWiki/
> pages/admin/objects?media=json
> Request Method:POST
> Status Code:500
> Remote Address:XXX.XXX.XX.XXX:80
> Referrer Policy:no-referrer-when-downgrade
>
> Query String Parameters
> media:json
>
> Form Data
> className:XWiki.Notifications.Code.NotificationPreferenceClass
> property#eventType:create
> property#notificationEnabled:1
>
> So I'm getting a 500 error:
> 
> jquery.js:9203 POST
> http://wiki.XXX.com/xwiki/rest/wikis/xwiki/spaces/XWiki/
> pages/admin/objects?media=json
> 500 ()
> send    @       jquery.js:9203
> ajax    @       jquery.js:8684
> n.(anonymous function)  @       jquery.js:8835
> (anonymous)     @       XWikiUserNotificationsSheet?
> language=pt_PT&docVersion=1.1:1
> dispatch        @       jquery.js:4737
> r.handle        @       jquery.js:4549
> trigger @       jquery.js:7819
> b       @       eventsBridge.js:1
> (anonymous)     @       jquery.js:7903
> each    @       jquery.js:365
> each    @       jquery.js:137
> trigger @       jquery.js:7902
> $element.on.change.bootstrapSwitch      @       bootstrap-switch.min.js:22
> dispatch        @       jquery.js:4737
> r.handle        @       jquery.js:4549
> trigger @       jquery.js:7819
> b       @       eventsBridge.js:1
> (anonymous)     @       jquery.js:7903
> each    @       jquery.js:365
> each    @       jquery.js:137
> trigger @       jquery.js:7902
> t.state @       bootstrap-switch.min.js:22
> $label.on.mouseup.bootstrapSwitch touchend.bootstrapSwitch      @
> bootstrap-switch.min.js:22
> dispatch        @       jquery.js:4737
> r.handle        @       jquery.js:4549
>
>
> thanks,
> Marcio
>
>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.
> com/Error-saving-Notifications-Preferences-tp7603801p7603894.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>



-- 
Guillaume Delhumeau (guillaume.delhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project

Reply via email to