Done:

https://issues.apache.org/jira/browse/VCL-749

Thanks again for your help,
Mike

On Wed, Feb 26, 2014 at 12:40 PM, Josh Thompson <[email protected]>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Mike,
>
> I don't think I've created an issue yet.  It would be great if you would
> submit one.
>
> Thanks,
> Josh
>
> On Wednesday, February 26, 2014 12:00:04 PM Mike Haudenschild wrote:
> > Hi Josh,
> >
> > Thanks -- that tweak to the code appears to have done the trick.  Is this
> > already documented in a JIRA for a future release, or should I go ahead
> and
> > do that?
> >
> > Thanks very much,
> > Mike
> >
> > On Tue, Feb 25, 2014 at 9:10 AM, Josh Thompson
> <[email protected]>wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Mike,
> > >
> > > This is probably due to some old code not being removed from the
> frontend.
> > >
> > >  It
> > >
> > > used to be that the "No Image" image (used as a placeholder when there
> is
> > > no
> > > image actually loaded on a node) had the ID of 4 in the image table.
> > >
> > >  There is
> > >
> > > a bit of code where that ID is hard coded.  So, if the image in
> question
> > > has
> > > an ID of 4, that is your problem.  The fix is to modify
> printSelectInput
> > > in
> > > utils.php.  Change the first line in the foreach loop from
> > >
> > > if(($skip && $id == 4) || ($dataArr[$id] != 0 && empty($dataArr[$id])))
> > >
> > > to
> > >
> > > if(($skip && $dataArr[$id] == 'No Image') || ($dataArr[$id] != 0 &&
> > > empty($dataArr[$id])))
> > >
> > > Josh
> > >
> > > On Monday, February 24, 2014 4:21:19 PM Mike Haudenschild wrote:
> > > > Hello, all --
> > > >
> > > > I'm experiencing the same problem reported by a user on the list in
> > > > October[1], in which a captured image works fine for reservations
> but is
> > > > unavailable for manual reloading via "Manage Computers > Computer
> > > > Utilities."
> > > >
> > > > In this case, the image "Windows7Base" was the first image in the
> > > > system,
> > > > captured via "vcld -setup" at the command line.  The "Science Lab
> Image"
> > > > was created via the WWW front-end by loading "Windows7Base" in an
> > > > imaging
> > > > reservation and creating a new image.
> > > >
> > > > I've checked and re-checked image grouping and mappings, and clearly
> the
> > > > image DOES load properly when a reservation is created, as shown in
> the
> > > > attached screenshot.
> > > >
> > > > [1] http://markmail.org/message/ngnxt4youlfjakmk
> > > >
> > > > Thanks,
> > > > Mike
> > >
> > > - --
> > > - -------------------------------
> > > Josh Thompson
> > > VCL Developer
> > > North Carolina State University
> > >
> > > my GPG/PGP key can be found at pgp.mit.edu
> > >
> > > All electronic mail messages in connection with State business which
> > > are sent to or received by this account are subject to the NC Public
> > > Records Law and may be disclosed to third parties.
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v2.0.22 (GNU/Linux)
> > >
> > > iEYEARECAAYFAlMMpFQACgkQV/LQcNdtPQNRRQCfTMdOmk1oWGkc7gedulDkLh3A
> > > MSsAnjRcI+wNEpwGXBVviWMxc1qqoZXr
> > > =hYQe
> > > -----END PGP SIGNATURE-----
> - --
> - -------------------------------
> Josh Thompson
> VCL Developer
> North Carolina State University
>
> my GPG/PGP key can be found at pgp.mit.edu
>
> All electronic mail messages in connection with State business which
> are sent to or received by this account are subject to the NC Public
> Records Law and may be disclosed to third parties.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (GNU/Linux)
>
> iEYEARECAAYFAlMOJxUACgkQV/LQcNdtPQOanwCfUoI88vc5VdvlF3wcELKME8n2
> T20AniqYDWmNN9zMNzL48qHsiJNAlYyv
> =Jl44
> -----END PGP SIGNATURE-----
>
>

Reply via email to