Project

General

Profile

Actions

Bug #3607

closed

Reload latest commit through API is not working

Added by Vincent MEMBRÉ almost 11 years ago. Updated almost 11 years ago.

Status:
Released
Priority:
1
Category:
Web - Maintenance
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

using the API to reload the latest commit archive is not working :

Exception occured while processing /api/archives/restore/full/latestCommitMessage: java.lang.NullPointerException
    com.normation.rudder.repository.xml.ItemArchiveManagerImpl.lastGitCommitId(ItemArchiveManagerImpl.scala:330)

We should use the same function than the one used in the webapp.

Actions

Also available in: Atom PDF