Hi all,

The attached file correct the name of the form field which hold the identifier of the environment in the update screen.
The preceeding patch on the update.vm file must be applied before this one.
Without this modification, the EnvironmentAction cannot find the pk in the form send by the client and so generate an exception. I'm wondering why i encounter several errors like this, has the code been refactored recently ? Or perhaps these are new screens ? (environment and instances)

Best regards,

--
Cordialement,
Ludo - http://www.ubik-products.com
---
"L'amour pour principe et l'ordre pour base; le progres pour but" (A.Comte)
Index: 
/Users/ludo/Workspaces/UbikDevSite/lokahi/src/www/Core/Environment/update.vm
===================================================================
--- 
/Users/ludo/Workspaces/UbikDevSite/lokahi/src/www/Core/Environment/update.vm    
    (revision 450355)
+++ 
/Users/ludo/Workspaces/UbikDevSite/lokahi/src/www/Core/Environment/update.vm    
    (working copy)
@@ -60,6 +60,6 @@
     #set ($Environment = $view.getEnvironment($id))
     <br />
     <form name="Form" method="post" 
action='$link.setAction("administration/EnvironmentAction")'>
-      <input type="hidden" id="id" name="id" value="$!{id}">
+      <input type="hidden" id="envId" name="envId" value="$!{id}">
       <input type="hidden" id="methodToCall" name="methodToCall" 
value="$methodToCall">
       Name: <input type="text" readonly id="envName" name="envName" 
value="$!{Environment.getName()}"><br />

Reply via email to