question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Created Entity not displayed under entity menu in Angular 2

See original GitHub issue
Overview of the issue

Unable to view the created entities under entity menu. But the generated codes are available in the respected area. There is no error while creating the entity as well the application startup.

Motivation for or Use Case

Created entities aren’t available under Entities menu

Reproduce the error
  1. generate single page app
  2. generate any entity
  3. go to app to entity menu

image

Related issues
Suggest a Fix
JHipster Version(s)

4.0.3

JHipster configuration

Welcome to the JHipster Information Sub-Generator

JHipster Version(s)
app@0.0.0 d:\Projects\jhipster\app
`-- generator-jhipster@4.0.3

JHipster configuration, a .yo-rc.json file generated in the root folder
{
  "generator-jhipster": {
    "jhipsterVersion": "4.0.3",
    "baseName": "app",
    "packageName": "cz.janys",
    "packageFolder": "cz/janys",
    "serverPort": "8080",
    "authenticationType": "jwt",
    "hibernateCache": "no",
    "clusteredHttpSession": false,
    "websocket": false,
    "databaseType": "mongodb",
    "devDatabaseType": "mongodb",
    "prodDatabaseType": "mongodb",
    "searchEngine": false,
    "messageBroker": false,
    "serviceDiscoveryType": false,
    "buildTool": "maven",
    "enableSocialSignIn": true,
    "useSass": true,
    "clientPackageManager": "npm",
    "applicationType": "monolith",
    "testFrameworks": [],
    "jhiPrefix": "jhi",
    "enableTranslation": true,
    "nativeLanguage": "cs",
    "languages": [
      "cs",
      "en"
    ],
    "clientFramework": "angular2"
  }
}
Entity configuration(s) entityName.json files generated in the .jhipster directory

Order.json

{
    "fluentMethods": true,
    "relationships": [],
    "fields": [
        {
            "fieldName": "name",
            "fieldType": "String",
            "fieldValidateRules": [
                "required",
                "minlength"
            ],
            "fieldValidateRulesMinlength": "3"
        },
        {
            "fieldName": "time",
            "fieldType": "ZonedDateTime",
            "fieldValidateRules": [
                "required"
            ]
        },
        {
            "fieldName": "price",
            "fieldType": "BigDecimal",
            "fieldValidateRules": [
                "required"
            ]
        }
    ],
    "dto": "no",
    "service": "no",
    "entityTableName": "order",
    "pagination": "infinite-scroll"
}

Browsers and Operating System

java version “1.8.0_111” Java™ SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot™ Client VM (build 25.111-b14, mixed mode)

git version 2.5.0.windows.1

node: v7.4.0

npm: 4.0.5

bower: 1.8.0

gulp: [21:33:30] CLI version 3.9.0

yeoman: 1.8.5

Docker version 1.9.1, build a34a1d5

docker-compose version 1.5.2, build e5cf49d

Browsers and Operating System

all browsers

  • [-] Checking this box is mandatory (this is just to show you read everything)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
blacksoulgem95commented, Jun 15, 2018

Hello, I’m having the same problem using yarn install && yarn start, I load localhost:9000 and under entities menù there are nothing, but the views for entities are generated.

0reactions
gmarzioucommented, Sep 28, 2020

@ysf08 Please don’t comment on an old issue. If you think this issue still applies, please create a new ticket with proper details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JHipster After creating sample entity nothing is shown in the ...
I have created a sample application with a very simple entity "stock" with an String id. All pre-build and unit tests run without...
Read more >
Features Angular Entity History - ASP.NET Zero Documentation
Angular client app uses those information to show entity history related buttons on each entity page.
Read more >
Router tutorial: tour of heroes - Angular
This tutorial provides an extensive overview of the Angular router. In this tutorial, you build upon a basic router configuration to explore features...
Read more >
UI/Angular/Modifying the Menu | Documentation Center | ABP.IO
The menu is inside the ApplicationLayoutComponent in the @abp/ng.theme.basic package. There are several methods for modifying the menu elements.
Read more >
Retrieving and displaying data with model binding and web ...
In this tutorial, you will use Entity Framework, but you could use the ... Change the title to display Contoso University and not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found