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

system/defaultapikey failure #103

@nicph

Description

@nicph

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions