abp icon indicating copy to clipboard operation
abp copied to clipboard

The Book List Page error on chrome acme is not defined

Open pekeramazan opened this issue 6 years ago • 11 comments

Hi Im testing tutorial but I have problem, 1-) I cant run this code on chrome

acme.bookStore.books.book.getList({}).done(function (result) { console.log(result); });

2-) I cant see book list

problem

pekeramazan avatar Nov 07 '20 19:11 pekeramazan

Hi

You can refer to the sample source code: https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore

realLiangshiwei avatar Nov 09 '20 01:11 realLiangshiwei

Hi

You can refer to the sample source code: https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore

It's works! thanks.but why is it samples different from the project(abp.io) I downloaded

pekeramazan avatar Nov 09 '20 12:11 pekeramazan

May your project has some problems. however, you can compare with the sample source code.

realLiangshiwei avatar Nov 09 '20 12:11 realLiangshiwei

May your project has some problems. however, you can compare with the sample source code.

I found problem: Problem is "tiered project" , I download not tiered and works fine

pekeramazan avatar Nov 09 '20 14:11 pekeramazan

The problem remains. Any project created through ABP cli 4.0 will report this.

wen676395159 avatar Dec 08 '20 02:12 wen676395159

so why sample source code is successy but created through ABP cli 4.0 is error? ABP cli 4.0 need update?

wen676395159 avatar Dec 08 '20 03:12 wen676395159

so why sample source code is successy but created through ABP cli 4.0 is error? ABP cli 4.0 need update?

The solution is here "https://github.com/abpframework/abp/issues/2823"

beefsteak avatar Apr 13 '21 02:04 beefsteak

Hi

You can refer to the sample source code: https://github.com/abpframework/abp-samples/tree/master/BookStore-Mvc-EfCore

The solution is here "https://github.com/abpframework/abp/issues/2823",I think the tutorial documentation is missing these descriptions.

beefsteak avatar Apr 13 '21 02:04 beefsteak

I have fully understood why, Because the previous content changes according to your own project name and file name, the entire method name is the hump name of the complete namespace of the 'XXXService.cs', and the example in the tutorial is only applicable to the same naming method as 'Acme.BookStore .Books.BookAppService'.

1

Zardw avatar Jun 02 '23 10:06 Zardw

I download not tiered and works fine

dailinzi avatar Jul 14 '23 02:07 dailinzi

any solution ?

Ramiii0 avatar Sep 28 '24 16:09 Ramiii0