[tools 1/2] testbot/web: Use the property descriptors in the Activity page.

Francois Gouget fgouget at codeweavers.com
Mon Mar 28 10:30:31 CDT 2022


The whole point is to pass them to _initialize() so FormPage::Validate()
can then do its job.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/web/Activity.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/web/Activity.pl b/testbot/web/Activity.pl
index 272215f95..d98f50a6c 100644
--- a/testbot/web/Activity.pl
+++ b/testbot/web/Activity.pl
@@ -45,7 +45,7 @@ sub _initialize($$$)
   my @PropertyDescriptors = (
     CreateBasicPropertyDescriptor("Hours", "Hours", !1, 1, "N", 3),
   );
-  $self->SUPER::_initialize($Request, $RequiredRole);
+  $self->SUPER::_initialize($Request, $RequiredRole, \@PropertyDescriptors);
   $self->{Method} = "get";
 
   if (!$self->GetParam("Hours") or !$self->Validate() or
-- 
2.30.2




More information about the wine-devel mailing list