We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't know if this is a bug or a misunderstanding on my part. The need/required list is wrong in Technical services provided page.
In a module descriptor modmymod.class.php:
Case 1.
//$this->depends = array('thirdparty'); //$this->requiredby = array('factory');
will display in Technical services provided page:
This module need the module(s): None This module is required by module(s): None
Case 2.
//$this->depends = array('thirdparty'); $this->requiredby = array('factory');
This module need the module(s): None This module is required by module(s): factory
Case 3.
$this->depends = array('thirdparty'); //$this->requiredby = array('factory');
Case 4.
$this->depends = array('thirdparty'); $this->requiredby = array('factory');
This module need the module(s): thirdparty This module is required by module(s): factory
This module need the module(s): thirdparty This module is required by module(s): None
Tks!
The text was updated successfully, but these errors were encountered:
@dolibarr95 file /admin/modulehelp.php line 368 wrong test :
if (count($objMod->requiredby)) $text.=join(',', $objMod->depends);
change with :
if (count($objMod->depends)) $text.=join(',', $objMod->depends);
Sorry, something went wrong.
Tks for this quick reply I will make the PR know
Wrong test
7943a14
Dolibarr#7604 (comment)
PR done tks.
220b371
#7604 (comment)
No branches or pull requests
Environment
Bug
I don't know if this is a bug or a misunderstanding on my part. The need/required list is wrong in Technical services provided page.
Actual behavior
In a module descriptor modmymod.class.php:
Case 1.
will display in Technical services provided page:
This module need the module(s): None
This module is required by module(s): None
Case 2.
This module need the module(s): None
This module is required by module(s): factory
Case 3.
This module need the module(s): None
This module is required by module(s): None
Case 4.
This module need the module(s): thirdparty
This module is required by module(s): factory
Expected behavior
Case 3.
This module need the module(s): thirdparty
This module is required by module(s): None
Tks!
The text was updated successfully, but these errors were encountered: