Developer Tools

Developer Tools 1.5.0

No permission to download
You have an error in your overloading of XF Admin controller phrase:
ErrorException: [E_NOTICE] Undefined variable: parameterBag src/addons/TickTackk/DeveloperTools/XF/Admin/Controller/Phrase.php:59

Multiple occurrences of $parameterBag instead of $params.
 
Hi,

I think I found a small bug.

The code event listener for the visitor_guest_setup is incorrectly generated.
It misses the defaultData variable.

Clément
 
Hi,

Also one other thing, the function that allows creating an entity from a database definition makes autoincrement field required.
It should not as it pops an error when you create an entity in that condition.

Thanks for the good work,
Clément
 
Hi,

I think I found a small bug.

The code event listener for the visitor_guest_setup is incorrectly generated.
It misses the defaultData variable.

Clément
Honestly, the entire auto generate code event listener with phpdoc block is done the wrong way and needs to be completly reworked.
 
Bug report:

Priority: Low

Environment
:
Development Environment:
localhost
PHP version - 7.3 on docker
webserver: PHP built-in server
User account used: The main Admin account.
Installed add-ons: TickTackk\DeveloperTools


Steps to reproduce:
Method A:

1. log in to the admin panel
2. Click on the search icon on the top main bar or use the "/" shortcut key.
3. Search for an admin template (for an example: option_edit )
4. Make sure the selected style is something other than the master style if the template editor has opened up the option_edit template of the master style. (Change the style from master style to something else)

Method B:
1. log in to the admin panel > Appearance > Templates
2. Choose the style to Master the style
3. Click on the Admin tab for admin templates.
4. Randomly click on an admin template and go to the template edit form.
5. Change the style from the Master style to a different style.


Expected result:

Oops! We ran into some problems.​


Templates in this style can not be modified. Please try another.

Actual result:

Error
: Call to undefined method XF\Mvc\Reply\Error::getParam() in src/addons/TickTackk/DeveloperTools/XF/Admin/Controller/Template.php at line 37

Stacktrace:

  1. TickTackk\DeveloperTools\XF\Admin\Controller\Template->actionEdit() in src/addons/SV/StandardLib/XF/Admin/Controller/Template.php at line 20
  2. SV\StandardLib\XF\Admin\Controller\Template->actionEdit() in src/XF/Mvc/Dispatcher.php at line 352
  3. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  4. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  5. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  6. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2345
  7. XF\App->run() in src/XF.php at line 512
  8. XF::runApp() in admin.php at line 13
Visual Proof:
bug_report.png
 
PHP 8.x update?
Code:
 Template error: [E_DEPRECATED] Creation of dynamic property TickTackk\DeveloperTools\XF\Template\Templater::$uniqueId is deprecated
 
The addon reformats the code in Listener.php, which leads to a destruction of the queries. A ‘\n’ is inserted everywhere!
I think that I can do the formatting myself!
 
Back
Top Bottom