Comments (5)
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.
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.
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.
@wernert Would you mind pushing your PR without unittests, so we can take a look?
from extension_builder.
Checked this against the Core itself. Most tables in Core indeed define the default as proposed.
from extension_builder.
Related Issues (20)
- ❌ Tests are failing
- Deprecations: The TCA field 'CType' of table 'tt_content' uses the legacy way of defining 'items'. Please switch to associated array keys: label, value, icon, group, description. HOT 6
- Deprecations: The TCA property ['ctrl']['cruser_id'] of table 'xxx' is not evaluated anymore and has therefore been removed. Please adjust your TCA accordingly. HOT 2
- Deprecations: Flexform - tag TCEforms HOT 2
- Deprecations: ext_emconf.php HOT 2
- [v12] GUI for relations HOT 1
- [EPIC] Case and Character related issues
- Remove SpycYAMLParser HOT 1
- [v12] GUI after reopening an extension HOT 9
- Renew SPLIT_TOKEN HOT 4
- Sort extensions by name HOT 2
- Properties with underscores HOT 1
- Make wires better visible HOT 3
- [Documentation] extend chapter about RoundtripMode
- Compatibility v13 HOT 4
- Show another message when no extensions to open are available HOT 1
- Move SCSS HOT 2
- [TASK] Introduce Storybook
- Object model can't be deleted via GUI. HOT 2
- [TASK] Set staticDateInXliffFiles as default inside settings.yaml -> Do not comment out
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extension_builder.