Skip to content
New issue

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

Add does not work at Device Model and Device Type #191

Closed
robfantini opened this issue Sep 14, 2024 · 3 comments
Closed

Add does not work at Device Model and Device Type #191

robfantini opened this issue Sep 14, 2024 · 3 comments

Comments

@robfantini
Copy link

using v19.0.1 , when Add is clicked the screen to Add does not pop up.

@heppel
Copy link

heppel commented Sep 14, 2024

I can confirm this for ONA 19.0.1 running on Debian 12 with PHP 8.2.

PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /opt/ona/www/winc/app_device_model_edit.inc.php:60\nStack trace:\n#0 /opt/ona/www/include/xajax_webwin/webwin.inc.php(173): ws_editor()\n#1 /opt/ona/www/include/xajax/xajax_core/plugin_layer/support/xajaxUserFunction.inc.php(237): window_submit()\n#2 /opt/ona/www/include/xajax/xajax_core/plugin_layer/xajaxFunctionPlugin.inc.php(228): xajaxUserFunction->call()\n#3 /opt/ona/www/include/xajax/xajax_core/xajaxPluginManager.inc.php(277): xajaxFunctionPlugin->processRequest()\n#4 /opt/ona/www/include/xajax/xajax_core/xajax.inc.php(603): xajaxPluginManager->processRequest()\n#5 /opt/ona/www/include/xajax_setup.inc.php(49): xajax->processRequest()\n#6 /opt/ona/www/index.php(50): require_once('...')\n#7 {main}\n thrown in /opt/ona/www/winc/app_device_model_edit.inc.php on line 60

mattpascoe added a commit that referenced this issue Sep 15, 2024
@robfantini
Copy link
Author

Hi Matt
If you would like to have ssh access to a Debian 12 system with the following php version let me know.

php -v

PHP 8.2.20 (cli) (built: Jun 17 2024 13:33:14) (NTS)

@mattpascoe
Copy link
Member

@robfantini I dont think I'll need access. I was able to recreate the issue locally and my commit fixes the issue for me. I just need to get it merged and released. I hope to have that done soon. Thanks!

mattpascoe added a commit that referenced this issue Sep 22, 2024
mattpascoe added a commit that referenced this issue Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants