Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Peter E Olsen III
@hepaestus
@tibistibi I am not sure what you mean? What is the class I call? Its offerSearchRepository.search(queryStr).
Tibor Strausz
@tibistibi
yes so i would try something like
and the method of the search?
Mustapha Aznag
@maznag
I discovered that the client unit tests are run by Jest and written with Jasmine. Why Jhipster use Jasmine instead of use Jes only ?
choubani amir
@amirensit
@maznag not sure but As I know, Jest provides you with multiple layers on top of Jasmine.
afnanshirol
@afnanshirol
Hello Team
We have an existing DB in postgres db. Is it possible to convert sql file into jdl?
Pablo
@PabloGancharov
Hello, Starting new monollith projects in Khipster + React + gradle, generates a broken project (react type definition in login.tsx and liquibase diffchangelogs failing)
we already solved both issues,
how we can contribute to the project ?
Alejandro Matos
@amatosg
@PabloGancharov you can check the issues here
Alejandro Matos
@amatosg

I’m having an issue. Initially I added a ManyToMany relationship, but then I had to add additional fields to the M2M table, so I opted for creating a new entity and create M2O relations and add the additional field, so I deleted the table and created the liquibase change files. I ran the app and the table was created. The issue is when I run ./mvnw -Pprod clean verify I get in a loop with this error:

Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [id] in table [product_location]

Although the the column does exists. Does any one has a hint to solve this?

Alejandro Matos
@amatosg
I have to add -DskipTests in order to avoid such error
Bobby King
@BLKingLLC
JHipster Console hasn't been updated since July of 19... is this project still active and will there be an update anytime soon? Or is there another way to spin up the elasticstack?
Sudharaka Palamakumbura
@SudharakaP
@bdrichard1 : The node_modules folder is generated when npm install is executed. And npm install is auto executed after you generate a project using the JHipster generator. :smile:
sunilkosuri
@sunilkosuri
I am uable to use VS Code extension to view the JDL in GraphViz. I installed the GraphViz Preview Extension. When the execute the PlanUML Command, the diagram is not opining up. Has anyone had a smilar problem?
Alejandro Matos
@amatosg
Ali Akbar Azizkhani
@azizkhani
Hi all ,i dont know how jhipster change configuration that 404 error response index.html ?
Alejandro Matos
@amatosg
@azizkhani what do you mean?
arun1705
@arun1705
Can some one help me? I want to work on react native apps alongwith jhipster but i want to use react-navigation instead of react-native-navigation which is default by jhipster so is there any way to use react-navigation?
Black Lion
@ma_and_ndiaye_twitter

Hi all,
Someone facing oom in jhipster due to Hazelcast,
Memory leaking

Someone know the best way to deactivate it??? We facing the issue so frequently
Cache being full rapidly

Thomas McCarrron
@ThomasMcCarron

With the new angular strict typing and nullable checks, whats the standard way of calling methods on chained objects?

e.g. const formattedDate = period.startEvent.timestamp.format(FRIENDLY_DATE_FORMAT);
Because of how jhipster generates the entities in angular, with all the fields being nullable, this throws exceptions now.
Should I be creating a method in the object to get the formatted timestamp, make the object not-null or is there something else I'm missing?

Coming across this a lot in my application
Ilya
@Eljah
He guys! Could you please take a look on by stackoverflow issue with some router problem in webpack dev server mode https://stackoverflow.com/questions/60251593/getting-the-angular-error-on-hot-reload-of-webpack-server-to-browser-console-for
I'm getting this error for the only route and no idea what is specifically wrong with it

Error: Invalid configuration of route 'teacher/class/:id'. One of the following must be provided: component, redirectTo, children or loadChildren at validateNode (router.js?6580:607) at validateConfig (router.js?6580:577) at validateNode (router.js?6580:623) at validateConfig (router.js?6580:577) at Router.resetConfig (router.js?6580:4111) at new Router (router.js?6580:3779) at setupRouter (router.js?6580:5591) at _callFactory (core.js?09c9:18520) at _createProviderInstance (core.js?09c9:18466) at initNgModule (core.js?09c9:18396)

everything is compiled fine in other modes, while when the app is picked up by the webpack proxy, something goes wrong

Ilya
@Eljah
this problem prevents me from setting up the front end debug, who knows what the sort this problem of?
Ilya
@Eljah
Guys, it was really interesting, it started working only after the routes code was splitted into several *.route.ts. I have no idea why
Federick
@fadafez

Hello guys, any hints about running docker-compose on windows (project already in home folder), I'm getting this error:
ERROR: pull access denied for account, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

My docker config.json doesn't have an authentication saved, but I'm logged on the Docker desktop app, I've also tried with docker logout & docker login ... no luck.

It's the first time that I use docker. I had to generate again my project infrastructure starting from JDL file. The first time I've launched docker with no issues apparently. Don't know why this time it has problems with authentication.

rishabhjainbvp
@rishabhjainbvp
Hi All
I am getting error while creating an entity. Details are below:

================= Wish =================
Fields
productId (Long)
price (BigDecimal)

Generating relationships to other entities

? Do you want to add a relationship to another entity? Yes
? What is the name of the other entity? WishList
? What is the name of the relationship? wishList
? What is the type of the relationship? many-to-one
? When you display this relationship on client-side, which field from 'WishList' do you want to use? This field will be displayed as a String, so it cannot be a Blob name
? Do you want to add any validation rules to this relationship? No

================= Wish =================
Fields
productId (Long)
price (BigDecimal)

Relationships
wishList (WishList) many-to-one

Generating relationships to other entities

? Do you want to add a relationship to another entity? No

================= Wish =================
Fields
productId (Long)
price (BigDecimal)

Relationships
wishList (WishList) many-to-one

? Do you want to use separate service class for your business logic? Yes, generate a separate service interface and implementation
? Do you want to use a Data Transfer Object (DTO)? No, use the entity directly
? Do you want to add filtering? Not needed
? Is this entity read-only? No
? Do you want pagination on your entity? Yes, with pagination links

Everything is configured, generating the entity...

ERROR! TypeError: Cannot read property 'toLowerCase' of undefined

Please assist
@vinaylimbare_twitter Were you able to resolve the issue "ERROR! TypeError: Cannot read property 'toLowerCase' of undefined" ?
I am getting the same error while creating entity.
Jon Ruddell
@ruddell
@rishabhjainbvp Do you have the relationship set up in the WishList entity? You can check in the .jhipster/WishList.json file
muthiulhaq
@muthiulhaq
Hi, I am very new into jhipster, and I have a requirement to create blueprint to override the jhipster functionality to create csv file from JDL file.
Actually I have a data field in JDL file and I want to desperately generate csv file out of this data and add this file into generated application folder. can someone please help me on the same ?
Tuấn Trần Mạnh
@tuantm1_gitlab
Hi, every one. Can you help me to create "id" with "auto increment "? I used to *.jh file to generate to DB
rishabhjainbvp
@rishabhjainbvp
@ruddell This is my json file:
{
"fluentMethods": true,
"clientRootFolder": "",
"relationships": [
{
"relationshipName": "user",
"otherEntityName": "user",
"relationshipType": "many-to-one",
"otherEntityField": "login",
"ownerSide": true,
"otherEntityRelationshipName": "wishList"
}
],
"fields": [
{
"fieldName": "name",
"fieldType": "String",
"fieldValidateRules": []
},
{
"fieldName": "creationDate",
"fieldType": "LocalDate",
"fieldValidateRules": []
},
{
"fieldName": "hidden",
"fieldType": "Boolean"
}
],
"changelogDate": "20200217170655",
"dto": "no",
"searchEngine": false,
"service": "no",
"entityTableName": "wish_list",
"databaseType": "sql",
"readOnly": false,
"jpaMetamodelFiltering": false,
"pagination": "no"
}
I am getting this error while creating Wish entity and mapping it to Wishlist
rishabhjainbvp
@rishabhjainbvp
@lluiscanals Hi, I saw your comment about below:
"@lluiscanals
I'm generating an entity with a BLOB (CLOB - Text Field) and I'm getting this error before any file is generated
TypeError: Cannot read property 'toLowerCase' of undefined
at Function.plural (/home/canals/.nvm/versions/node/v4.3.2/lib/node_modules/generator-jhipster/node_modules/pluralize/pluralize.js:134:23)
at pluralize (/home/canals/.nvm/versions/node/v4.3.2/lib/node_modules/generator-jhipster/node_modules/pluralize/pluralize.js:161:46)
at null.<anonymous> (/home/canals/.nvm/versions/node/v4.3.2/lib/node_modules/generator-jhipster/generators/entity/index.js:1534:70)
at Array.forEach (native)
at module.exports.EntityGenerator.extend.configuring.loadInMemoryData (/home/canals/.nvm/versions/node/v4.3.2/lib/node_modules/generator-jhipster/generators/entity/index.js:1508:54)
at Object.<anonymous> (/home/canals/.nvm/versions/node/v4.3.2/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/lib/base.js:436:25)
at /home/canals/.nvm/versions/node/v4.3.2/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/node_modules/run-async/index.js:26:25
at /home/canals/.nvm/versions/node/v4.3.2/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/node_modules/run-async/index.js:25:19
at /home/canals/.nvm/versions/node/v4.3.2/lib/node_modules/generator-jhipster/node_modules/yeoman-generator/lib/base.js:448:8
at processImmediate [as _immediateCallback] (timers.js:383:17)"
Were you able to resolve this? I am getting the same error.
Please advise.
Thanks
rishabhjainbvp
@rishabhjainbvp
Is there anyone who can help me?
Marcelo Shima
@mshima
Did you selected many-to-one at both sides?
rishabhjainbvp
@rishabhjainbvp
@mshima yes i selected many-to-one on both sides..
Marcelo Shima
@mshima
What JHipster version are you using?
rishabhjainbvp
@rishabhjainbvp
@mshima I am using JHipster6