Comments (8)
I was able to reproduce this today, but I'm not sure how to fix it. Here's line 422 in generators/ionic/generator.mjs
:
![Screenshot 2023-07-10 at 4 03 27 PM](https://private-user-images.githubusercontent.com/17892/252501611-3048537a-7a27-4edb-b41b-c13e2f13abdb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk3MDQ2MTEsIm5iZiI6MTcwOTcwNDMxMSwicGF0aCI6Ii8xNzg5Mi8yNTI1MDE2MTEtMzA0ODUzN2EtN2EyNy00ZWRiLWI0MWItYzEzZTJmMTNhYmRiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzA2VDA1NTE1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxZTM3MTg4YTI4MTRhYzAxMTE2Mzk4YjJlOWI4MzgzYzgwMTlmYTExOTEwZjc3OGQyMjRmZmFkMjgxOTFkNzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.g9ibBmInWu9B0ZFCrswjp7PrJXx1INEXGiaWIqfE4Lk)
I'll add a bug bounty in hopes that @mshima knows how to fix it.
from generator-jhipster-ionic.
Thanks for reporting this issue! I've been traveling a lot lately and haven't had a chance to look into this. Hopefully, I will get a chance in the next week or so.
from generator-jhipster-ionic.
one-to-one relationships requires bi-directional for filtering.
Adding the back-reference fixes the issue:
relationship OneToOne {
Album{artist(name)} to Artist{album}
Album{genre(name)} to Genre{album}
}
I think we should be strict and throw on missing back-reference, but it's possible to check the main generator behavior and maybe fallback to entityName as relationshipName.
@mraible what do you think?
from generator-jhipster-ionic.
This is probably sql only problem.
from generator-jhipster-ionic.
Or we can ignore filtering.
from generator-jhipster-ionic.
Nevermind, ignoring filter is the correct fix.
from generator-jhipster-ionic.
@DanielFran bounty claimed https://opencollective.com/generator-jhipster/expenses/170970
from generator-jhipster-ionic.
@mshima approved
from generator-jhipster-ionic.
Related Issues (20)
- I can't run jhipster-ionic blueprint v8.1.0 HOT 1
- Replace ionic-native with awesome-cordova-plugins. HOT 4
- Update ionic-appauth to released version. HOT 2
- Investigate to reuse main generator components
- Error when creating entity in frontend HOT 3
- Error getting when try to create entity in front end HOT 4
- Getting error when try to create new entity HOT 2
- Error when generating the code if the jdl file has an entity with no fields HOT 5
- Conflict when an entity has two image fields HOT 5
- JWT Token issue HOT 2
- Release 8.1.0 HOT 2
- jhipster server and jhipster-ionic App Continuous Integration HOT 4
- CORS Error HOT 12
- Are you sure you added CORS information in the correct part of `application.yml`? You might look at the [`application-dev.yml` template](https://github.com/jhipster/generator-jhipster/blob/main/generators/server/templates/src/main/resources/config/application-dev.yml.ejs#L292) to see where it should be.
- Oauth2 Social Sign-In In Android App HOT 1
- Migrate to JHipster v8 HOT 5
- Release new version with Node 18 support HOT 4
- npx ionic capacitor add ios. is throwing an issue below HOT 1
- Update to angular 17 and update implementation to new angular standards. HOT 14
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 generator-jhipster-ionic.