Coder Social home page Coder Social logo

Comments (7)

ivanproskuryakov avatar ivanproskuryakov commented on June 15, 2024

Thanks for reporting, its a small issue and it would be fixed in few days.
I think I will also need add Behat tests for create actions :)

from aisel.

extdevelopment avatar extdevelopment commented on June 15, 2024

Thanks for the reply :)

Sorry, another found (possibly new Behat test possibility)
administration/en/system/user/frontend/create

Failed to create object: Aisel\FrontendUserBundle\Entity\FrontendUser
500 Internal Server Error - ModelManagerException
3 linked Exceptions: NotNullConstraintViolationException » PDOException » PDOException »

ModelManagerException: Failed to create object: Aisel\FrontendUserBundle\Entity\FrontendUser
NotNullConstraintViolationException: An exception occurred while executing 'INSERT INTO aisel_user_frontend (username, email, password, salt, enabled, locked, created_at, updated_at, expires_at, last_login, about, phone, website, facebook, twitter, linkedin, googleplus, github, behance) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["extdevelopment", "[email protected]", "9V3TQv3i/XkK8B8m9/CoO7UPjGMmfSAyrwTloSvLeKcZ5vauhVvdgNno+VIKI5bhRzfkr9RkuegILKaCz67RIA==", "37b6db6ae5bc47235d0e4628636ad23b", 1, null, "2014-12-23 01:09:05", "2014-12-23 01:09:05", null, "2014-12-23 01:09:05", null, null, null, null, null, null, null, null, null]:

SQLSTATE[23000]: Integrity constraint violation: 1048 Le champ 'locked' ne peut être vide (null)

thx

from aisel.

ivanproskuryakov avatar ivanproskuryakov commented on June 15, 2024

Hi! Could you do following:

  1. php app/console doctrine:schema:update
  2. php app/console doctrine:fixtures:load

I'm thinking that schema is outdated

from aisel.

extdevelopment avatar extdevelopment commented on June 15, 2024

Hi,
I used for issue report latest commit 9f819e9
Aisel> php app/console doctrine:schema:update
Nothing to update - your database is already in sync with the current entity metadata.

from aisel.

ivanproskuryakov avatar ivanproskuryakov commented on June 15, 2024

Hello, thanks for posting here your issues here! It will be fixed asap..

Regarding navigation issue:
there was missing locale field in configureFormFields function in /Aisel/NavigationBundle/Admin/NavigationAdmin.php file

For frontendusers I added nullable="true" for entities as bellow

In any case we have this because of the missing functional tests for create actions. heheh

from aisel.

extdevelopment avatar extdevelopment commented on June 15, 2024

I study navigation/menu fancytree in place editor solution, congratulations for you to successfully integrate in sonata admin.
I really miss from sonata in place editor grid/tree.

from aisel.

extdevelopment avatar extdevelopment commented on June 15, 2024

Hello,
it works, thanks :)
I looked at the changes src/Aisel/FrontendUserBundle/Resources/config/doctrine/FrontendUser.orm.xml
and updated my schema.
Scenario: Add navigation action works, great:)

from aisel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.