Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7732

fixe for JBIDE-3915 breaks version control for SCM that require checkout for writable files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • LATER
    • 3.2.0.M2
    • jbpm
    • None

      JBIDE-3915 tried to fix the issue where the JBPM xml editor fails when editing non-writable files. The fix (015307?) in the URL below offers the user the opportunity to change the attributes from r/o to r/w bypassing the SCM hooks. So for an SCM like Perforce where all files are locked until checkout, the user will have changed the R/W bits without notifying the SCM so they can save their changes but they never get committed back to the repository. Users can lose changes without knowing it.

      If you answer NO to the panel offered by JBIDE-3915 then the editor will still let you edit and when you save it will check out the processdefinition.xml in the SCM file like it used to and will fail on the gpd and jpg files (like it used to).

      The fix should have used the same Eclipse hooks used by the editor so that all 3 files end up checked out. Changing the access bits directly seems like a bad idea

      http://lists.jboss.org/pipermail/jbosstools-commits/2009-September/015307.html
      https://jira.jboss.org/browse/JBIDE-3915

            kaers@redhat.com Koen Aers
            joe_jboss joe freeman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: