Base solution for your next web application

Activities of "gbadenhorst"

Hi,

I have been experiencing a rather big problem at the moment when publishing the new angular side of 4.5.1. The error in the description is what i am currently receiving when i try to publish to azure.

The Testing site can be found here: <a class="postlink" href="https://aurora-bms.azurewebsites.net/">https://aurora-bms.azurewebsites.net/</a>

I have followed the steps on the site for publishing the angular side.

Any help would be greately appreciated!

Regards, Gideon Badenhorst

Hi,

I have a few questions regarding data & Submission.

I have beeen looking at different examples and posts that i could find that deals with data retrieval and submission in this project but so far alot of things you can normally do with entity seems to either require a strange way to complete or can not be done.

<ins>1) Submitting a collection of data:</ins> Is there a way to submit data through the repository based on a list/collection example. i am creating a sales order and would like to only submit the lines ones the user is done adding them and minipulating it. Sales Order Header Sales Order Lines (Multiple lines of data) <-- Bulk submit without requiring to loop through the lines

<ins>2) Retrieving Data with Sub Objects/Collections:</ins> I am currently trying to retrieve data from a header table: Business Partners This header table has 3 Lines Tables -Transactions -PriceLists -Cart

As soon as i pull the query and start with the Pagination/Orderby it does not want to order the Business Partners Table and throws and error: Message = "Argument types do not match"

This only occurs as a problem when i map the Lines Tables to the Object:

var query = _BusinessEntityRepository //.GetAll() .GetAllIncluding(x => x.AddressBook, x => x.Transactions, x => x.Carts) .WhereIf(!input.Filter.IsNullOrWhiteSpace(), c => c.Code.Contains(input.Filter)).Select(x => new BusinessEntityListDto { Code = x.Code, Name = x.Name, Description = x.Description, <ins>AddressBook = x.AddressBook, Carts = x.Carts, Transactions = x.Transactions,</ins> });

        var BusinessEntityCount = query.Count();
     **&lt;ins&gt;var BusinessEntitiesOrderBy =  query.OrderBy(x => x.Id);&lt;/ins&gt;**
        var BusinessEntitiesPageBy = BusinessEntitiesOrderBy.PageBy(input);

Is there something i am doing wrong in handling Header/Line style Tables?

  1. Submit Entries with Sub Object Data:

If i have a table Business Partner and i link a PriceList to it. The price List object is causing the Insert to fail when i include it in the add (This with Entity framework would add the Object as a new object if Id field is empty or 0. This is not the case with current inserts. current inserts you have to first Add the object without linked objects before you can link a price lists when you get and update the Business Partner object. You also have to seperately add the pricelist object and get it and link it to the business partners with an update.

Is there another way to handle this as in a large business setting this might cause too many transaction to be processed to the backend/database.

I might be doing something wrong with the above 3 points but the documentation does not help in teaching people the best way to handle more in depth data objects insert and updates. This is my view as i am used to things that entity allowed when submitting objects.

Any information/help regarding the above topics would be greatly appreciated as i am trying to use the template to the max currently.

Regards, Gideon Badenhorst

Thanks,

Will do so. thought it might be the way the template structure works or something in that line.

Hi,

Any update on this error by chance?

Regards Gideon Badenhorst

Hi,

I don't want to hijack the thread but are you guys still on schedule with the release this week. I have quite a few clients interested in this release but the delays are making them a bit edgy.

I know it is a lot of work that you guys need to do, so just an update now and then would be cool.

Thank you!

Hi

There seems to be a problem with downloading the latest version of Angular + Core: 5.0.2 as it just never downloads and just keeps loading.

Also, Previously there was an option for Editions(From which I understand the subscriptions were set up?) Is this option not available in 5.0.1? Will it be added later or where do we manage the subscription now? Should we create a custom page for it now?

Another thing, just a heads up. When you change the header to dark, the profile drop-down does not change the text to black and keeps it white. It is an easy enough fix to make it display correctly but just giving a heads-up in case it needs to be changed for later releases.

One more thing, Is the template completely upgraded to v5 now or is there still things that need to be changed or added? For example bootstrap style textboxes etc (Just wondering as the previous version had a very good visual look and now it is kind of back to standard old school style).

Thank you Gideon Badenhorst

Hi, Download works fine now.

The project, however, does give this error in 5.0.2 when trying to update-database which did not occur in 5.0.1:

System.Exception: Could not find content root folder! at BMS.Web.WebContentDirectoryFinder.CalculateContentRootFolder() at BMS.EntityFrameworkCore.BMSDbContextFactory.CreateDbContext(String[] args) at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContextFromFactory(Type factory) at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.<>c__DisplayClass14_0.<FindContextFactory>b__1() at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(Func`1 factory) at Microsoft.EntityFrameworkCore.Design.Internal.DbContextOperations.CreateContext(String contextType) at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.UpdateDatabase(String targetMigration, String contextType) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.UpdateDatabaseImpl(String targetMigration, String contextType) at Microsoft.EntityFrameworkCore.Design.OperationExecutor.UpdateDatabase.<>c__DisplayClass0_1.<.ctor>b__0() at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action) Could not find content root folder!

Hi,

Can't download the last stable version at the moment. It results in a 500 error when project creation is initiated: 500 ERROR! An internal error occurred during your request!

Hi,

Can anyone actually log in with the latest version?

When I started the project up, unlike 5.0.2 the scenario is reversed for me. 5.0.2: Here the UI worked with errors on the Backend side. 5.0.3: Now the UI does not work and the backend seems to be working.

I am not sure if I am handling something different from how it is supposed to be done.

Currently when I start the UI project the following errors:

This is a new segment to 5.0.3 and I could not find something relating to it in 5.0.2 and lower. I imported lodash (This is the part that I am not sure if it is the correct item to import for this.

Besides for that, I can't log in after I run the UI project:

<a class="postlink" href="http://localhost:22742/api/services/app/Session/GetCurrentLoginInformations">http://localhost:22742/api/services/app ... formations</a> {"result":null,"targetUrl":null,"success":false,"error":{"code":0,"message":"An internal error occurred during your request!","details":null,"validationErrors":null},"unAuthorizedRequest":false,"__abp":true}

Anyone maybe knows how to get out of this situation with 5.0.3 or if I am just doing something wrong?

Regards, Gideon Badenhorst

Hi,

Thank you for the link. Seems like all the action happens on Github.

I managed to log in on FireFox which is quite interesting. Ill clear all my cookies etc on chrome and have a look.

Another issue I encountered now is in the editions. The config for Paid side does not save at all.

Is the paid side functionality supposed to be default for the template or is it a self-implementation item? (from what I understand it should be included but would just like to confirm?)

Showing 11 to 20 of 48 entries