Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "AuroraBMS"

Hi @musa.demir,

No worries about the documentation as I know it is still testing phase, this an important addition for me to the template so I am a bit over eager to play around with it.

I downloaded the latest (RC) version again incase something changed.

Same scenario, I did everything the same as above and still errors.

I left out adding a navigation property on the child item (Which is something that is required) and still ended up with the same issue.

I also got a few extras that occur when regenerating entities.

  1. So first part, here is the errors from following the above steps:

ERROR in src/app/main/masterDetail/childEntities/childEntities.component.ts:60:41 - error TS2554: Expected 6 arguments, but got 5.

60 this._childEntitiesServiceProxy.getAll( ~~~~~~~ 61 this.filterText, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... 65 this.primengTableHelper.getMaxResultCount(this.paginator, event) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 ).subscribe(result => { ~~~~~~~~~

src/shared/service-proxies/service-proxies.ts:1536:205 1536 getAll(filter: string | null | undefined, addedAPropertyFilter: string | null | undefined, parentEntityIdFilter: number | undefined, sorting: string | null | undefined, skipCount: number | undefined, maxResultCount: number | undefined): Observable<PagedResultDtoOfGetChildEntityForViewDto> { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ An argument for 'maxResultCount' was not provided. src/app/main/masterDetail/childEntities/childEntities.component.ts:78:43 - error TS2554: Expected 1-2 arguments, but got 0.

78 this.createOrEditChildEntityModal.show(); ~~~~~~

src/app/main/masterDetail/childEntities/create-or-edit-childEntity-modal.component.ts:35:18 35 parentEntityId: any, ~~~~~~~~~~~~~~~~~~~ An argument for 'parentEntityId' was not provided.

  1. When regenerating the parent entity it creates a duplicate of the 1 * Many link Identifier in the entity.
  2. When clearing out the entity and/or regenerating it results in errors as well.
  3. When I manage to fix the errors I get an invalid value error which I assume is linked to the Child Entity Id from the parent
  4. When I then regenerate the child item and remove the duplicated variables the Master Detail works but the page of the child does not works.

I'm basically just running around in circles currently fix 1 thing, something else breaks.

Both entities only contain 1 property and when adding the link the 2nd property is added on the lines.

So there is nothing special about the entities and it is bare minimum.

Regards, AuroraBMS

Hi @ismcagdas,

Any update on this?

I assume people have gotten it to work since there are other errors logged for this so I am not sure where I am going wrong?

Regards, AuroraBMS

Hi @ismcagdas,

Master Entity: [Table("TransactionHeaders")] public class TransactionHeader : FullAuditedEntity<long> , IMayHaveTenant { public int? TenantId { get; set; }

	public virtual string CardCode { get; set; }
	
	public virtual string CardName { get; set; }
	
	public virtual string InternalId { get; set; }
	

}

Child Entity:
[Table("TransactionLines")]
public class TransactionLine : FullAuditedEntity&lt;long&gt; , IMayHaveTenant
{
	public int? TenantId { get; set; }
	
	public virtual string ItemCode { get; set; }
	
	public virtual string ItemName { get; set; }
	

	public virtual long TransactionHeaderId { get; set; }
	
    [ForeignKey("TransactionHeaderId")]
	public TransactionHeader TransactionHeaderFk { get; set; }
	
}

This field below normally gets generated a 2nd time when adding the master link to the child.: public virtual long TransactionHeaderId { get; set; }

Hi @Ismcagdas,

The problem persists even through this.

This is the original way I did it and I extracted a clean project again and redid everything again from scratch following with the above and same issue.

So basically here is the findings overall:

Scenario 1

  1. Generate Parent Table
  2. Generate Child Table
  3. Regenerate Parent Table
    1. Add Master Detail Grid to the parent
    2. Generate results in a stack overflow error

Scenario 2

  1. Generate Parent Table
  2. Generate Child Table
    1. Create Navigation Property for child table to header
  3. Regenerate Parent Table
    1. Add Master Detail
    2. This generates incorrect HTML at times with the show containing more params than required
    3. Also generates incorrect ts file data which gives off errors
    4. Adds a second propperty to DTO's where navigation property is displayed. in this case TransactionHeaderId is duplicated once for each the below
      1. Master Detail Generation
      2. Parent Link on line generation
  4. Errors in 3 appear once the following is done
    1. Run Host Application
    2. Run Nswag
    3. npm start Angular app

Another error that occurs is blank Master detail tab(No items added) results in a backend style error rather than the similar error of the properties - Atleast one property needs to be specified (Not a problem though, just mentioning it from a user perspective.)

Also, even with manual fixing the process does not work and I don't know where to start looking at the issues where this is failing so I can't really elaborate on this part further. I wish I had more time to investigate.

Overall, only part that works from a generation/functionality part is the actual UI and the individual components in the master detail but not the linking when manually fixed.

But I can say the look is nice though and the way it should work is nice as well.

Regards, AuroraBMS

So basically the params in general either do no generate or generates too many. Sometimes it gives different params issue based on how it is generated(The order in which you generate it) After manually adding everything in no relational data is displayed and also when creating a child item from the header page, it does not do anything.

Also, while pressing create new for a child it loads an existing entity in the database that is supposed to be linked to the header instead of loading a blank entity for creating.

As mentioned before, not sure if I am following incorrect steps for this but tried multiple different variations with mater detail not working correct except for the html side.

Prerequisites

  • What is your product version: 9.2.0-RC.1
  • What is your product type (Angular or MVC): Angular
  • What is product framework type (.net framework or .net core):Core

Good day ANZ Team,

I'm currently in the process of testing the Master Detail grids and I seem to be running into issues.

I'm not sure if I am not following the correct process regarding this, had a look through the documentation and didnt see anything - not sure if anything has been posted anywhere yet.

The steps that I follow was:

  1. Create Master Table
  2. Create Child Table (Navigation Property added point to Master table)
  3. Update Header table with Naviagtion property - linking child table.

I've redone it multiple times to make sure that I am not missing something but I keep getting the below errors:

ERROR in src/app/main/itemMasterData/serialNumbers/serialNumbers.component.ts:67:41 - error TS2554: Expected 11 arguments, but got 10.

67 this._serialNumbersServiceProxy.getAll( ~~~~~~~ 68 this.filterText, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... 77 this.primengTableHelper.getMaxResultCount(this.paginator, event) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 ).subscribe(result => { ~~~~~~~~~

src/shared/service-proxies/service-proxies.ts:9597:447 9597 getAll(filter: string | null | undefined, serialNoFilter: string | null | undefined, manufactureSerialNumberFilter: string | null | undefined, maxAbsEntryFilter: number | null | undefined, minAbsEntryFilter: number | null | undefined, activeFilter: number | null | undefined, inventoryDataItemCodeFilter: string | null | undefined, inventoryDataIdFilter: number | undefined, sorting: string | null | undefined, skipCount: number | undefined, maxResultCount: number | undefined): Observable<PagedResultDtoOfGetSerialNumberForViewDto> { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ An argument for 'maxResultCount' was not provided. src/app/main/itemMasterData/serialNumbers/serialNumbers.component.ts:90:[93m44 - error TS2554: Expected 1-2 arguments, but got 0.

90 this.createOrEditSerialNumberModal.show(); ~~~~~~

src/app/main/itemMasterData/serialNumbers/create-or-edit-serialNumber-modal.component.ts:38:18 38 inventoryDataId: any, ~~~~~~~~~~~~~~~~~~~~ An argument for 'inventoryDataId' was not provided.

Is there something that can be added into the templates to resolve this or what needs to be done to resolve this? If I am following the wrong process please let me know the correct process.

Regards, AuroraBMS

@dparizek open powershell and run this command "dotnet-runtime-2.2.0-win-x64.exe"

In visual studio, uninstall powertools then reinstall power tools.

This should resolve it for you - resolved it on my side.

It might require Ef core to be installed/upgraded as well which was also an issue on my side.

Getting same issue, no errors in Windows event viewer.

Is it possible to revert back to a lower version while this is being resovlved? Had to reimplement my environment due to crash and unfortunately it installed the latest version and now I am stuck.

Good day ANZ,

I'm having quite an issue with the API timing out the whole time when trying to do a sync local database on xamarin. The local db works fine and general connection speed is also fine.

The basic amount of data that I am trigger a get for is around 100-200 info rows at a time. This is roughly 10-20 columsn of data per line.

The GetAll keeps timing out and I have tried adding UnitOfWork as well to it, not sure if this helps for get all API calls as well.

I need to be able to pull atleast 1000 records without a timeout trigger, I split it up in smaller calls anyways so the volume is lower. So 100-200 should be fine but timeouts are the main issue regardless of what I try. It is already timing out at around 55 roecords.

How can I adjust the timeout or get the data in a better way over the API to enhace the speed?

Test where performed after restarting IIS pools/sites and the SQL server itself. In short a clean remote test.

Any help on this will be greatly appreciated.

Regards, AuroraBMS

Good day ANZ Team,

We are in the process of rolling at a component of our solution a client which current threw a curve ball at us.

They have customers in non-sginal areas which leads the system to be unavailable when they enter those areas.

We can implement a local database on the solution to handle the data and also resync everything once they are in an area with signal.

The part that we are struggling with and not sure how to handle best is the offline login side. Is there an ideal way that we can bypass the login page in general and only have them login once they have signal again or try to sync data?

We are aiming to reach offline compatibility when no connection is available or signal is terrible. (Standard South Africa Issues)

Thank you,

Regards, Aurora-BMS

Showing 31 to 40 of 76 entries