Comments (3)
@othercorey Hi, I was trying to reproduce this bug using a table with a field theme_id
and no themes table but the validation was generated correctly:
$validator
->nonNegativeInteger('theme_id')
->requirePresence('theme_id', 'create')
->notEmptyString('theme_id');
Could you please provide more details about how to reproduce this bug? Please include Bake version and a DB schema if possible.
from bake.
This issue is stale because it has been open for 120 days with no activity. Remove the stale
label or comment or this will be closed in 15 days
from bake.
Is this still valid and reproducable?
from bake.
Related Issues (20)
- RFC: Do not generate associations for `_id` fields if no Table object or database table present HOT 3
- Bug found in 2.8.0 - Error when baking component `Twig\Error\SyntaxError` HOT 1
- Baking Middleware should bake Middleware tests HOT 1
- `--datasource` alias to `--connection` for consistency HOT 2
- 2.x: Dirty state after tests HOT 3
- DisplayField does not fallback to `*_name` field HOT 1
- Allow passing multiple model names HOT 1
- Incorrect message when `plugins` directory not exists using bake HOT 13
- Column with *_id not generating a `belongsTo` relation anymore. HOT 2
- bake not override plugins bake template HOT 4
- Return value of Bake\Command\ModelCommand::getDisplayField() must be of the type string or null, array returned in HOT 6
- [3.x] Adaption to the new behavior of `EntityTrait::has()` HOT 5
- Wrong signature for get() in table classes HOT 2
- RFC: generics for array collections? HOT 2
- Cannot bake ControllerTest with model type other than Table HOT 9
- Application/Validation rule issues HOT 3
- Baked enum docblock wrong
- Baking snapshot with autoid HOT 5
- Bake snapshot losing structure data
- Add `--only-entity` as opposed to `--no-table --no-fixture --no-test` HOT 1
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 bake.