[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Accessibility issue caused by derived class accessing private parent property

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69175510470b6_2a2284540852b5@gitlab-sidekiq-low-urgency-cpu-bound-v2-59ccd46784-2cfqj.mail>

ushindi bienvenu pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
a619b883 by ushindi bienvenu at 2025-11-14T16:05:02+00:00
[FIX] Accessibility issue caused by derived class accessing private parent property
---
* [FIX] Accessibility issue caused by derived class accessing private parent property

See merge request tikiwiki/tiki!8871

- - - - -


1 changed file:

- lib/core/Tracker/Field/BigBlueButton.php


Changes:

=====================================
lib/core/Tracker/Field/BigBlueButton.php
=====================================
@@ -127,7 +127,7 @@ class Tracker_Field_BigBlueButton extends \Tracker\Field\AbstractItemField imple
         // Parse current value (could be URL or JSON with cached data)
         $currentData = $this->parseStoredValue($currentValue);
 
-        $smarty->assign('field', $this->definition);
+        $smarty->assign('field', $this->getFieldDefinition());
         $smarty->assign('input_mode', $inputMode);
         $smarty->assign('recordings', $recordings);
         $smarty->assign('current_value', $currentValue);
@@ -149,7 +149,7 @@ class Tracker_Field_BigBlueButton extends \Tracker\Field\AbstractItemField imple
             $recordingData = $this->getRecordingData($value);
         }
 
-        $smarty->assign('field', $this->definition);
+        $smarty->assign('field', $this->getFieldDefinition());
         $smarty->assign('recording_data', $recordingData);
         $smarty->assign('value', $value);
 
@@ -200,10 +200,10 @@ class Tracker_Field_BigBlueButton extends \Tracker\Field\AbstractItemField imple
     public function getTabularSchema(): Tracker\Tabular\Schema
     {
         $schema = new Tracker\Tabular\Schema($this->getTrackerDefinition());
-        $permName = $this->definition['permName'] ?? '';
+        $permName = $this->getFieldDefinition()['permName'] ?? '';
 
         $schema->addNew($permName, 'default')
-            ->setLabel($this->definition['name'] ?? '')
+            ->setLabel($this->getFieldDefinition()['name'] ?? '')
             ->setRenderTransform(function ($value) {
                 return $value;
             })
@@ -217,10 +217,10 @@ class Tracker_Field_BigBlueButton extends \Tracker\Field\AbstractItemField imple
     public function getFilterCollection(): Tracker\Filter\Collection
     {
         $filters = parent::getFilterCollection();
-        $permName = $this->definition['permName'] ?? '';
+        $permName = $this->getFieldDefinition()['permName'] ?? '';
 
         $filters->addNew($permName, 'manual')
-            ->setLabel($this->definition['name'] ?? '')
+            ->setLabel($this->getFieldDefinition()['name'] ?? '')
             ->setControl(new Tracker\Filter\Control\TextField("tf_{$permName}"));
 
         return $filters;



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a619b8834d117c78b5d84d25c2e3becf8c625424

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a619b8834d117c78b5d84d25c2e3becf8c625424
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.