Actions
Bug #24959
closedError message when getting campaign through API
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
On a plugin fresh install, when we go on the update campaigns page, there is an error showing up (see the following logs). This error disappear after the first campaign is created
. 2024-05-31 12:06:24+0000 ERROR api-processing - SystemError: An error occurred; cause was: java.nio.file.NoSuchFileException: /var/rudder/configuration-repository/campaigns -> com.normation.rudder.campaigns.CampaignRepositoryImpl.$anonfun$getAll$1(CampaignRepository.scala:78) -> com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445) -> com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428) -> com.normation.zio$UnsafeRun.runNow(ZioCommons.scala:454) -> com.normation.rudder.rest.RudderJsonResponse$implicits$ToLiftResponseList.toLiftResponseList(RudderJsonResponse.scala:201) -> com.normation.rudder.rest.RudderJsonResponse$implicits$ToLiftResponseList.toLiftResponseList(RudderJsonResponse.scala:211) -> com.normation.rudder.rest.lift.CampaignApi$GetCampaigns$.process0(CampaignApi.scala:77) -> com.normation.rudder.rest.lift.LiftApiModule0.process(LiftApiDispatcher.scala:112) -> com.normation.rudder.rest.lift.LiftApiModule0.process$(LiftApiDispatcher.scala:104) -> com.normation.rudder.rest.lift.CampaignApi$GetCampaigns$.process(CampaignApi.scala:60) -> com.normation.rudder.rest.lift.CampaignApi$GetCampaigns$.process(CampaignApi.scala:60) -> com.normation.rudder.rest.lift.LiftApiModule.handler(LiftApiDispatcher.scala:67) -> com.normation.rudder.rest.lift.LiftApiModule.handler$(LiftApiDispatcher.scala:59) -> com.normation.rudder.rest.lift.CampaignApi$GetCampaigns$.handler(CampaignApi.scala:60) -> com.normation.rudder.rest.lift.CampaignApi$GetCampaigns$.handler(CampaignApi.scala:60) -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$21(ApiDatastructures.scala:696) -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$18(ApiDatastructures.scala:680) -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$15(ApiDatastructures.scala:674) -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$15$adapted(ApiDatastructures.scala:672) -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$13(ApiDatastructures.scala:672) -> com.normation.rudder.rest.BuildHandler.$anonfun$buildApi$7(ApiDatastructures.scala:665)
Updated by Vincent MEMBRÉ 7 months ago
- Project changed from 92 to Rudder
- Subject changed from Error message on update campaigns page when there is no campaigns to Error message when getting campaign through API
- Target version deleted (
8.1)
CHeck whether the campaigns directory exists or not are not ran
Updated by Vincent MEMBRÉ 7 months ago
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ 7 months ago
- Category set to Web - UI & UX
- Status changed from In progress to New
- Assignee deleted (
Vincent MEMBRÉ)
Updated by Vincent MEMBRÉ 7 months ago
- Status changed from New to Pending technical review
- Assignee set to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/5700
Updated by Vincent MEMBRÉ 7 months ago
- Related to Architecture #21825: Port code to ZIO2 added
Updated by Anonymous 7 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|124ca5d44ff04d18155a090831b599d47ff07ab0.
Updated by Vincent MEMBRÉ 6 months ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.3.16, 8.0.10 and 8.1.5 which were released today.
Actions