Version 2.3.29 with "Default" Point Account, and a "default" item pool. "Simple mode" is enabled.
If I use the API to add a new event, it is created successfully. However, the site shows no point account or item pool.
If I use the API to retrieve the list of events, that same event shows that it does have the defaults.
"event:49": {
"id": 49,
"name": "A Test Event",
"value": "10.00",
"icon": "http://localhost/eqdkp/",
"multidkp_pools": {
"multidkp_pool:1": {
"id": 1,
"name": "Default",
"desc": "Default MultiDKPPool"
}
},
"itempools": {
"itempool:1": {
"id": "1",
"name": "default",
"desc": "Default itempool"
}
}
},
"status": 1
Display More
My workaround has to be open Event Management on the website, Edit the event - and clicking Save without making any changes. It then appears to be correct.
In the API add_event I have tried various values for "event_default_itempool", including leaving that property out altogether with no change in this described behavior.
The reason this is a problem - I cannot seem to manually add items to any raids associated with this event until I fix the event through the website. I can add items via the API but not manually through the website.
Thank you.