Duplicated files with "original1." prefix
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)
-
reporter -
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.
-
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
-
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.
-
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
-
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.
-
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.
-
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.
-
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?
-
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.
-
repo owner - changed status to resolved
Resolving unless/until the problem is reproducible.
-
repo owner Do you happen to use CrashPlan? JetBrains mentioned to me that a quick Google showed that CrashPlan can yield files with the "original1." prefix:
https://support.code42.com/CrashPlan/4/Restoring/Downloading_Files_From_The_Code42_CrashPlan_App
That would at least explain the mysterious appearance of these files!
-
reporter Yes, I do use crashplan. It's work laptop and it's used there to backup files.
So that explains it Guess. strange
-
reporter And thanks for looking into it.
-
repo owner - changed component to Lightning (Aura)
-
repo owner - changed component to Aura
- Log in to comment
To add, I tried retrieving and refreshing again but it didn't happen. Not sure what caused it in the first place.