GithubHelp home page GithubHelp logo

Comments (5)

liayn avatar liayn commented on June 15, 2024

The actual cause is a core bug here. It violates the strict mode of your SQL server and tries to insert a string where integer is required. So adding the default is okay, but actually just a workaround.
Please make a pull request.

from extension_builder.

wernert avatar wernert commented on June 15, 2024

Hallo, for the pull request:
I have forked and cloned the projekt
inserted the default in phpt template

Now i need a little help:
do i have to and if > how to setup the unit tests ?

my core sources are installed via git + symlink
i have also symlinked the vendor folder
core tests are running

on:

vendor/phpunit/phpunit/phpunit -c vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml typo3conf/ext/extension_builder/Tests
vendor/phpunit/phpunit/phpunit -c vendor/typo3/testing-framework/Resources/Core/Build/UnitTests.xml typo3conf/ext/extension_builder/Tests/Unit

i get a lot of errors cause: mockups,fixture.. not found

so i assume there is another build/install/setup step ?

from extension_builder.

nicodh avatar nicodh commented on June 15, 2024

The second line should work if you have set the Environment variables and the composer install (like the steps you can see in the travis.yml)

For the change you made there is no need to add a unit test but you probably have to adapt the files in Tests/Fixtures/TestExtensions/test_extension as these are the references to compare a generated extension (is peformed in Tests/Functional/CompatibilityTest). So the files in the fixtures should have the same changes as the configuration files generated with your patch...

from extension_builder.

liayn avatar liayn commented on June 15, 2024

@wernert Would you mind pushing your PR without unittests, so we can take a look?

from extension_builder.

liayn avatar liayn commented on June 15, 2024

Checked this against the Core itself. Most tables in Core indeed define the default as proposed.

from extension_builder.

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.