Base solution for your next web application

Activities of "gbadenhorst"

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, 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

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,

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,

Any update on this error by chance?

Regards Gideon Badenhorst

Thanks,

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

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

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,

The import of the following worked for me including the suggested DataTabbleModule:

main.module.ts: import { DataTableModule } from 'primeng/primeng'; import { PaginatorModule } from 'primeng/primeng';

and the adding it to the ngmodule imports.

Thank you!

Regards, Gideon Badenhorst

Hi,

I have been busy with trying to redevelop a system i created with Jtables and the PrimeNg tables are giving me nightmares through and through.

I have now tried to implement a basic table with 2 columns and a query based on both GetEditions & GetUsers and with both concepts and table designs which range from having pagination and only display data with a record count i have yet to be able to get the PrimeNg grids to work.

So far based on the posts that i have read everything is in place and there should not be any problems with dropping in the html structure and linking the correct method/function to the pagination or just the loading.

the error i received is this: ERROR Error: Uncaught (in promise): Error: Template parse errors: Can't bind to 'value' since it isn't a known property of 'p-dataTable'.

  1. If 'p-dataTable' is an Angular component and it has 'value' input, then verify that it is part of this module.
  2. If 'p-dataTable' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the <a href="mailto:'@NgModule.schemas">'@NgModule.schemas</a>' of this component to suppress this message.
  3. To allow any property add 'NO_ERRORS_SCHEMA' to the <a href="mailto:'@NgModule.schemas">'@NgModule.schemas</a>' of this component. ("le #dataTable (onLazyLoad)="getItems()" [ERROR ->][value]="primengDatatableHelper.records" rows="{{primengDatatableHelper"): ng:///MainModule/ItemComponent.html@41:29 Can't bind to 'rows' since it isn't a known property of 'p-dataTable'.
  4. If 'p-dataTable' is an Angular component and it has 'rows' input, then verify that it is part of this module.
  5. If 'p-dataTable' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the <a href="mailto:'@NgModule.schemas">'@NgModule.schemas</a>' of this component to suppress this message.
  6. To allow any property add 'NO_ERRORS_SCHEMA' to the <a href="mailto:'@NgModule.schemas">'@NgModule.schemas</a>' of this component. (" [value]="primengDatatableHelper.records" [ERROR ->]rows="{{primengDatatableHelper.defaultRecordsCountPerPage}}" [paginator"): ng:///MainModule/ItemComponent.html@42:29 Can't bind to 'paginator' since it isn't a known property of 'p-dataTable'.
  7. If 'p-dataTable' is an Angular component and it has 'paginator' input, then verify that it is part of this module.
  8. If 'p-dataTable' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the <a href="mailto:'@NgModule.schemas">'@NgModule.schemas</a>' of this component to suppress this message.
  9. To allow any property add 'NO_ERRORS_SCHEMA' to the <a href="mailto:'@NgModule.schemas">'@NgModule.schemas</a>' of this component. (" rows="{{primengDatatableHelper.defaultRecordsCountPerPage}}" [ERROR ->][paginator]="false" [lazy]="true" emptyMe"): ng:///MainModule/ItemComponent.html@43:29

I have no idea how to get around this and this is a rather urgent problem that i am struggling with.

Is there any one that might know if i am missing something or that i have done wrong?

Regards, Gideon Badenhorst.

Showing 31 to 40 of 48 entries