No cls-meta files update when refreshing metadata

Issue #592 resolved
Jérôme MIGNEE created an issue

When I refresh metadatas, cls-meta.xml files (and also page-meta.xml, trigger-meta.xml) are not refreshed.
When I retrieve metatadas, for new classes , cls-meta.xml are not retrieved

Comments (9)

  1. Scott Wells repo owner

    Hi, Jerome. Sorry for the issue. I'm having trouble reproducing it, though. I just performed a retrieve & merge on one of my projects and the meta.xml files are included in the resulting diff. Most of them are hidden because the resulting diff window is configured to hide identical files, but if I click the "=" button I do see them in the list. Would you mind providing a screenshot of the diff window configured as follows?

    DiffShowEqualFiles.png

    Note that the Show equal files button is enabled and I've scrolled down to the contents of the classes directory to show that the meta.xml files are in fact there but equivalent and therefore hidden unless explicitly displayed.

  2. Scott Wells repo owner

    Thanks, Jerome. I apologize but I'm not sure that I understand the issue. I see meta.xml files in the provided screenshot, some of which are new and some of which are updated (or at least different from what you have locally). My original understanding was that these files were not being included in the retrieval/refresh, but perhaps that was wrong. Can you help me understand the issue?

  3. Jérôme MIGNEE reporter

    Sure : the issue is that in the worskpace, these files are still the old ones of janury 10th (the day when I created the project) , and when there are new classes created, I have no meta.xml file in my workspace. Look at the attached screenshot on my C: (look at the dates), maybe it will be more clear. 2017-04-12 18_04_09-C___intellijworkspace_devint_src_classes.png

  4. Scott Wells repo owner

    Thanks for clarifying, Jerome. That was my original assumption. So in the attached screenshot, I see meta.xml files on the left (latest from the server) with what appear to be recent date/time stamps. Are you not copying those over from left-to-right during Retrieve & Merge operations? That wouldn't explain why they're not updated on Refresh operations, but let me first try to understand the Retrieve & Merge behavior where the screenshot helps to provide context.

  5. Scott Wells repo owner

    Hi, Jerome. Just thought I'd follow up and see if you had any additional update on this based on the question I asked in my last comment. Thanks!

  6. Jérôme MIGNEE reporter

    Hi Scott, When I run "retrieve metadata", I cannot see the meta-xml files in the list of differences , unless I click on "=" . Then I can see them with "=" , but even if I try "set copy to right" and press "synchronize selected", nothing is done , the file is not copied to my workspace.

    Well, maybe it is not really an issue as the content of the meta-xml files are the same on server and on my workspace ?

    And for new classes It seems ok now after checking "show meta.xml files" in the IllumintaedCloud menu.

    So what do you think , should we close the case ? Regards Jerome

  7. Scott Wells repo owner

    Ah, okay. Yes, that's the expected/correct behavior. If there are no differences, synchronizing left-to-right will skip files that have no changes and you won't see the files' last modified timestamps update. As long as you see new and modified files get properly updated, this is working as intended.

  8. Log in to comment