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

ShtumiUsefulBundle for Symfony 3 #71

Open
variatio27 opened this issue May 20, 2016 · 2 comments
Open

ShtumiUsefulBundle for Symfony 3 #71

variatio27 opened this issue May 20, 2016 · 2 comments

Comments

@variatio27
Copy link

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 ...!!!

@saintwolf
Copy link

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.

@variatio27
Copy link
Author

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!

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

2 participants