Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3333

Uberfire transport exception on push

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 6.0.2
    • Business Central
    • None
    • All All

      Description of problem:
      Using Uberfire's Git VFS, I'm unable to push to a FileSystem created as
      FileSystem clonedInsuranceFS = ioService.newFileSystem( URI.create( TEST_CLONED_REPOSITORY ), new HashMap<String, Object>() {{
      put( "origin", "git://localhost:9418/insurance" );
      put( "username", "brmsAdmin" );
      put( "password", "brms_1234" );
      }} );

      The Server hosting the insurance repository is Business Central 6.0.1 CR2.

      I'm pushing with the following code:
      ioService.getFileSystem( URI.create( TEST_CLONED_REPOSITORY + "?push=git://localhost:9418/insurance&force" ) );

      The exception is:
      org.eclipse.jgit.api.errors.TransportException: git://localhost:9418/insurance: push not permitted

      Tracing the problem back, I see that JGitUtil.pushRepository's credentialsProvider has the username "guest" and password "". This is likely the problem.

      Version-Release number of selected component (if applicable):
      Uberfire 0.3.1

      How reproducible:
      Consistent

      Steps to Reproduce:
      1. Business Central hosts git
      2. Try to push a change
      3. Push fails silently

      Actual results:
      Push fails silently

      Expected results:
      Push succeeds

      Additional info:

              msalatin Mauricio Salatino (Inactive)
              rhn-support-abaxter Adam Baxter (Inactive)
              Marek Baluch Marek Baluch
              Marek Baluch Marek Baluch
              Adam Baxter (Inactive), Alexandre Porcelli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: