[Midas] Bug in Large Data Upload

Zach Mullen zach.mullen at kitware.com
Mon Jul 9 14:18:02 EDT 2012


On Mon, Jul 9, 2012 at 1:58 PM, Mona Wong <mona at sdsc.edu> wrote:

>
>         To fix this bug for our 3.2.6 install, is it simply to modify
> midas/core/controllers/UploadController.php and change:
>
>                 $this->view->protocol = 'http';
>
>         to
>
>                 $this->view->protocol = 'https';
>
>         in the javauploadAction() function?
>
>         Or is there more that needs to changed?
>

The following commits are how we fixed the bug:

http://public.kitware.com/gitweb?p=MIDAS/Midas3.git;a=blobdiff;f=core/controllers/UploadController.php;h=9d54f923abd71017fe76ca34b44101c056a6ee4c;hp=9f5ee7ab263145637b81d6928b738d3acbee75c2;hb=626f2d6d63c37ff945a7968cdd10b8a3f4b70fb7;hpb=95ddfd8661ee6c6ec60d513aeabb8172555db78b
http://public.kitware.com/gitweb?p=MIDAS/Midas3.git;a=blobdiff;f=core/controllers/UploadController.php;h=48e89254d86e2db3ac34b01c69c0cfb4b58fe748;hp=9d54f923abd71017fe76ca34b44101c056a6ee4c;hb=11a77fc10fbcad7aa750e96f61171cc2c5e923ba;hpb=626f2d6d63c37ff945a7968cdd10b8a3f4b70fb7

Ideally we should move the server over there to track the git repository
master branch so that we can easily keep up with current bugfixes (without
introducing other bugs).

Cheers,

Zach

>
> Mona
>
> On Jul 7, 2012, at 10:06 AM, Patrick Reynolds wrote:
>
> > Brian,
> >
> > Nice job finding this bug. We were making some bad protocol
> > assumptions. I agree that this is a serious bug, and because of that
> > we fixed it today. The fix is now in place on the head of both next
> > and master.
> >
> > View the progress here:
> http://public.kitware.com/MidasBT/view.php?id=748.
> >
> > Thanks,
> > Patrick Reynolds
> > Technical Leader
> > Kitware, Inc.
> > 919 869 8848
>
> *********************************************
>     Mona Wong
>     Web & iPad Application Developer
>     San Diego Supercomputer Center
>
>     You are the light you wish to see.
> *********************************************
>
>
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120709/2d320cc7/attachment.html>


More information about the Midas mailing list