Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

system/defaultapikey failure #103

Closed
nicph opened this issue Apr 1, 2015 · 0 comments
Closed

system/defaultapikey failure #103

nicph opened this issue Apr 1, 2015 · 0 comments
Labels
Milestone

Comments

@nicph
Copy link

nicph commented Apr 1, 2015

Midas 3.4.0 :

When using rest/system/defaultapikey (or api/json...), if the specified user does not already have a 'Default' api key, we get through the following error :

The system has encountered the following error:<br/>
<h3>Call to a member function getApikey() on a non-object<br/>In /midas/core/controllers/components/ApisystemComponent.php, line: 210<br/>
  At 14:49:36 2015-04-01</h3>
  <br/>Please notify your administrator with this information.<br/>

If we add a 'Default' api key to the user manually, the call to rest/system/defaultapikey works fine.
It looks like this is broken since 3.2.15 (not 100% sure)

@jamiesnape jamiesnape added this to the Version 3.4.1 milestone Apr 1, 2015
@jamiesnape jamiesnape added the bug label Apr 1, 2015
@jamiesnape jamiesnape self-assigned this Apr 1, 2015
@jamiesnape jamiesnape removed their assignment Jun 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants