Code is dispayed twice.

Issue #11 resolved
Cu3PO42 created an issue

When loading up any file its contents are always inserted into the editor twice. While this may be a minor inconvenience for smaller files, it really gets annoying with larger ones.

Comments (7)

  1. Alexey Efimov

    Up. Same here. I guess it becouse of AJAX and onReady event. If you press Ctrl+R, then all became to valid content.

  2. Kelly Schoenhofen

    Same here; pressing control-R does fix the issue, but this is more than annoying, I cannot roll this out on our Production Stash server with a bug this severe. I can see people not noticing it's been doubled and making terrible edits.

    I also can't publish my changes; this might be the same issue as issue #12 - I press Publish and I get a 500/skull and crossbones error. I've restarted Stash (2.3.1 on Ubuntu) and it still acts the same.

  3. Kelly Schoenhofen

    The Publish/500 error was because Ubuntu 12.04LTS stopped at git 1.7.9 and 12.10 stopped at git 1.7.10, this plugin apparently requires git 1.8.x or higher. Adding the git-core PPA to the server and doing an update & upgrade resolved the 500 error I was having, leaving just the doubled text. Once I use control-R and it fixes itself, I am able to successfully publish & generate a pull request. Very cool plugin so far, just the double text issue at the moment is stopping me from pushing this to production. Thanks again for making this.

  4. Timothy Pettersen

    Fixed in fdf9d54. Thanks for the report!

    @phiro the incompatibility with 1.7.x has been fixed too. You'll see both these fixes in the next release (due out shortly).

    cheers, Tim

  5. Log in to comment