Details of metadata retrieve issues not accessible in messages

Issue #2256 resolved
René Görgens created an issue

This is in reference to the stale metadata issue #2253 (-> enhancement) but a different request.

Scenario: A report is renamed in the org. The local metadata cache is stale. When trying to retrieve the report under its old name, retrieval succeeds with “Retrieved 0/1 components from Power DevMig in 1 s 559 ms with status SUCCEEDED.“

There is no way to access the detail “behind” this notification in the UI, or is there?

  • When I check Illuminated Cloud > Problems for Power DevMig, it says “No messages” although something went wrong
  • Which I find nonintuitive as details are available for deployment type operations

Of course I can check the log:

2022-11-11 22:26:19,079 [16149102] INFO - #c.i.i.b.RetrieveAction - Retrieving metadata from requested connection Power DevMig into module Power DevMig
2022-11-11 22:26:22,720 [16152743] INFO - #c.i.i.b.ForceComMetadataRetriever - Retrieved 0/1 components from Power DevMig in 3 s 641 ms with status SUCCEEDED.
2022-11-11 22:26:22,720 [16152743] INFO - #c.i.i.b.ForceComMetadataRetriever - Retrieve details:
{
"done": true,
"fileProperties": [
{
"createdById": "005b0000000EG98AAG",
"createdByName": "René Görgens",
"createdDate": 1668201981519,
"fileName": "unpackaged/package.xml",
"fullName": "unpackaged/package.xml",
"id": "",
"lastModifiedById": "005b0000000EG98AAG",
"lastModifiedByName": "René Görgens",
"lastModifiedDate": 1668201981519,
"manageableState": "UNMANAGED",
"type": "Package"
}
],
"id": "09S9X000000AIOfUAO",
"messages": [
{
"fileName": "unpackaged/package.xml",
"problem": "Entity of type \u0027Report\u0027 named \u0027unfiled$public/SampleReportCasesStatusbyRep\u0027 cannot be found"
}
],
"status": "SUCCEEDED",
"success": true
}

Would it be possible to show retrieve issues in the messages? Thanks for considering.

  • The notion of “success” is relative when the action intended by the user actually failed. There’s a failure inside the success 😅

Comments (5)

  1. Scott Wells repo owner

    The Problems view only shows problems that can be directly resolved to local files. It’s a matter of how that view is designed in the base IDE, typically for local compilation failures, static code analysis against local files, etc. More detailed information is always also sent to the Messages view so that the user doesn’t have to open idea.log. Are you not seeing the retrieval details there?

  2. René Görgens reporter

    Thanks for educating me on the navigation. Indeed I can find this message in the Messages view, so I must have missed it before.

    Both problems and messages can be summarily surfaced in notifications, but it seems that I can’t double-click a notification to navigate to either Messages or Problems. I have to open these myself to see details.

  3. Scott Wells repo owner

    I did make one small change earlier so that the notification is shown on the Messages tool window instead of the Illuminated Cloud > Problems tool window when it wasn’t able to find local files against which to add entries in the latter. So minimally it should indicate clearly which view contains the information more reliably.

  4. Log in to comment