ShtumiUsefulBundle icon indicating copy to clipboard operation
ShtumiUsefulBundle copied to clipboard

ShtumiUsefulBundle for Symfony 3

Open variatio27 opened this issue 8 years ago • 2 comments

Hello!

composer require shtumi/ShtumiUsefulBundle 2.0: Composer install message error:

The package is not available in a stable-enough version according to your minimum-stability setting

thanks for your suggestions to solve ...!!!

variatio27 avatar May 20 '16 09:05 variatio27

You can try the "dev-master" release which should download. I got my copy from https://github.com/Resomedia/ShtumiUsefulBundle however even that code is massively outdated. I'm trying to use the dependent filtered form list and am having the following issues:

  • Twig templating YAML config has changed to use the "form_themes:" key.
  • You'll most likely get an error that a form of type "form" cannot be found. This is due to the getParent method in the form types.
  • The bundle creates the correct form fields, but they do not filter the items and it appears the jQuery template in fields.html.twig is not importing into the form despite the use of the form_themes in the config.yml file.

saintwolf avatar May 20 '16 18:05 saintwolf

Hello! Thank you very much I could do a non-automatic installation, writing in the array load composer (namespaces and psr4), and recording in AppKernel. Symfony3 has not complained ... it runs everything except the shtumiUsefulBundle. It seems that is not well recorded: when using shtumi.dependent_filtered_entity I created in config.yml not find the type:

InvalidConfigurationException in ArrayNode.php line 317:
Unrecognized option "shtumi.dependent_filtered_entity" under "shtumi_useful"

at ArrayNode->normalizeValue(array('shtumi.dependent_filtered_entity' => array('empresa_by_grupo' => array('class' => 'OrganizacionBundle:Empresa', 'parent_property' => 'grupo', 'property' => 'logo', 'role' => 'IS_AUTHENTICATED_ANONYMOUSLY', 'no_result_msg' => 'Ese Grupo no existe', 'order_property' => 'grupo', 'order_direction' => 'ASC')))) in BaseNode.php line 264

I am not so specialist Symfony to keep trying ... I think we must give up ...

Thanks again!

variatio27 avatar May 20 '16 21:05 variatio27