Duplicated files with "original1." prefix

Issue #405 resolved
jrattanpal created an issue

It's been a while since I opened my module. I opened it today with latest update, retrieved metadata and refreshed it.

Then suddenly, I see that ALL of my files in all folders (aura, classes etc) have been duplicated with "original1." prefix. Not sure if I did it wrong but this is the first time it happened.

Thanks

Comments (16)

  1. jrattanpal reporter

    To add, I tried retrieving and refreshing again but it didn't happen. Not sure what caused it in the first place.

  2. Scott Wells repo owner

    Yeah, that's strange. I'm assuming you used IntelliJ's native directory diff tool to bring files over, or was this a refresh operation? Going with the former, it must be something the base IDE is doing, but I've never seen that behavior before. If you don't mind verifying that was what you were doing, I'll see what I can find on the "original1." prefix.

  3. jrattanpal reporter

    I just opened the project, retrieved metadata, used diff tool (just clicked that "play" button to resolve), and refreshed metadata.

    Not sure at what point those files were created so hard to say. I did the same thing (although didn't restart IDE; maybe I should try that) but it didn't duplicate those files.

    Thanks

  4. Scott Wells repo owner

    Thanks for verifying. Yeah, that's their directory diff tool copying files left-to-right. Not trying point fingers or anything...just saying that I'll need to dig into their stuff (either SDK source code or their support) to understand when/why they'd decide to create prefixed duplicates of files when copying. Let me see what I can find.

  5. jrattanpal reporter

    Thanks Scott. It hasn't happened again so not super urgent I guess. maybe one of those corner cases and I happened to hit it

  6. Scott Wells repo owner

    Okay, I've logged a support request with JetBrains. I'll let you know what I hear from them. Please let me know if this odd behavior recurs.

  7. Scott Wells repo owner

    JetBrains seems perplexed about this as well. Are you using any integrated source code control? I don't think that would necessarily kick in here, but we're just trying to understand what else might have caused this.

  8. jrattanpal reporter

    I am using git for source code control ; in case that could be the culprit. I created another project after this without any issues. Not sure what might have caused it.

  9. Scott Wells repo owner

    Yeah, I use Git for my personal projects and Perforce for my "day job" projects, and I've never seen this behavior. Obviously very odd...I'm not sure how to proceed on this one given given that the JetBrains folks aren't aware of any type of auto-backup that might occur either. Do you mind if we just resolve it and you can reopen it if it occurs again?

  10. jrattanpal reporter

    Certainly. Let's close this for now and if it happens again then I'll let you know. My logs are always on for illuminated cloud so might catch it.

  11. jrattanpal reporter

    Yes, I do use crashplan. It's work laptop and it's used there to backup files.

    So that explains it Guess. strange

  12. Log in to comment