Formation_Documentation (Documentation of the Formation module) Wiki page commented on by khairil
- brudinie,
i tried your version for kohana 2.3, but still the add_group() method still raised exception.
brudinie,
i tried your version for kohana 2.3, but still the add_group() method still raised exception.
Oct 29, 2009
Formation_Documentation (Documentation of the Formation module) Wiki page commented on by meroje.f
- There is another error with the class Config in file libraries/elements/Element_Label.php on line 18, replace Config::item with Kohana::config.
There is another error with the class Config in file libraries/elements/Element_Label.php on line 18, replace Config::item with Kohana::config.
Jun 24, 2009
issue 13
(Error on line 118) reported by federico.lox
- Line 118 should be:
if($result == NULL)
and not
if($result != null)
since the Dispatcher should return the cache of the output only if the
method DID NOT return anything.
Line 118 should be:
if($result == NULL)
and not
if($result != null)
since the Dispatcher should return the cache of the output only if the
method DID NOT return anything.
Mar 15, 2009
issue 12
(Fire_Profiler emits a notice) reported by drarok
- What steps will reproduce the problem?
1. Set error_reporting to E_ALL.
2. Instantiate a Fire_Profiler in a controller.
3. View the page in a browser.
What is the expected output? What do you see instead?
A webpage, with debug info in FireBug.
What version of the product are you using? On what operating system?
svn r105. OS irrelevant.
Please provide any additional information below.
It's a simple fix, the constructor is overridden, but the parent
constructor is never called. I've attached a diff.
What steps will reproduce the problem?
1. Set error_reporting to E_ALL.
2. Instantiate a Fire_Profiler in a controller.
3. View the page in a browser.
What is the expected output? What do you see instead?
A webpage, with debug info in FireBug.
What version of the product are you using? On what operating system?
svn r105. OS irrelevant.
Please provide any additional information below.
It's a simple fix, the constructor is overridden, but the parent
constructor is never called. I've attached a diff.
Older
Nov 02, 2008
issue 11
(MPTT::__construct fails when you specify an $id) reported by bharatman
- What steps will reproduce the problem?
1. ORM::factory('model_name', <value>)
What is the expected output? What do you see instead?
I expect to get a model back. But instead, I get "The where property does
not exist in the Xxx_Model class."
What version of the product are you using? On what operating system?
MPTT.php r105.
Please provide any additional information below.
If I comment out line 52:
49 //Set the right scope on new objects
50 $scope_column=$this->scope_column;
51 $this->set_scope($this->$scope_column);
52 $this->where='';
the problem goes away. I can work around it by using a where clause to
look up the value instead of getting it by primary key in the factory.
What steps will reproduce the problem?
1. ORM::factory('model_name', <value>)
What is the expected output? What do you see instead?
I expect to get a model back. But instead, I get "The where property does
not exist in the Xxx_Model class."
What version of the product are you using? On what operating system?
MPTT.php r105.
Please provide any additional information below.
If I comment out line 52:
49 //Set the right scope on new objects
50 $scope_column=$this->scope_column;
51 $this->set_scope($this->$scope_column);
52 $this->where='';
the problem goes away. I can work around it by using a where clause to
look up the value instead of getting it by primary key in the factory.
Oct 07, 2008
issue 10
(Element_Checkbox::set_value()) reported by utyf@utyf.net
- In Element_Checkbox class there is a method set_value()
public function set_value($value)
{
$this->value=(bool) $value;
$this->attr['checked'] = (bool) $value;
return $this;
}
therefore value depends of checked state and this is not correct for checkboxes
my very simple solution :)
public function set_default_value( $value )
{
$this->value = $value;
}
public function set_value($value)
{
//$this->value=(bool) $value;
$this->attr['checked'] = (bool) $value;
return $this;
}
In Element_Checkbox class there is a method set_value()
public function set_value($value)
{
$this->value=(bool) $value;
$this->attr['checked'] = (bool) $value;
return $this;
}
therefore value depends of checked state and this is not correct for checkboxes
my very simple solution :)
public function set_default_value( $value )
{
$this->value = $value;
}
public function set_value($value)
{
//$this->value=(bool) $value;
$this->attr['checked'] = (bool) $value;
return $this;
}