Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3594] When opening View files and selecting 'XML' git wants to commit a copy of the file

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-05-11T17:38:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterGabriel Mario Aguirre
AssigneeShak Hossain
Created2016-05-03T23:17:57.000+0000
Updated2016-05-11T17:47:39.000+0000

Description

Steps to Reproduce

Define a View. Open the view. Click 'XML' tab. Observe unstaged changes which is a copy of the whole file in git.

Actual Result

Full copy unsaved/unstaged file change.

Expected Result

No file change/unstaged changes.

Attachments

FileDateSize
.log2016-05-03T23:18:04.000+00007198677
diagnostic5492925285538608352.log2016-05-03T23:18:18.000+0000263521

Comments

  1. Nazmus Salahin 2016-05-05

    Hello, Thanks for reporting but I am not able to reproduce the issue yet. Please clarify what do you mean by "Define a View" and "Open the view". Do you mean creating new xml file or changing an existing xml file. I have tried changing the existing xml file and git says a file is modified which is expected behavior. Thanks in advance
  2. Sharif AbuDarda 2016-05-05

    Hello, Please provide a sample reproducible code. We will try to reproduce the issue in our environment. Regards, Sharif.
  3. Gabriel Mario Aguirre 2016-05-05

    If you have an existing project, open an established view file, switch to XML tab, observe that the entire file is now unstaged changes. I cannot tolerate this behavior every time I modify a view.
  4. Nazmus Salahin 2016-05-08

    Hello, I am still not able to reproduce this issue while using Appcelerator-Designer plugin. *Steps:* 1. Create a default alloy project. 2. Push everything in the project in git. 3. Open index.xml with Scratchpad Xml Editor 4. Switch to xml tab. 5. It is seen that git is clean for the following command.
       git status
       
    *Output:*
       $ git status
       

    On branch master

    nothing to commit, working directory clean
    Thanks
  5. Gabriel Mario Aguirre 2016-05-11

    Look you guys, it happens and it changes my values. Your platform is going to fail if you keep closing issues. READ what I wrote. Open and old project that was made before the new IDE. IT EVEN CHANGES UI VALUES.

JSON Source