useless response.
I would appreciate a human on your team to address the root cause.
OK thanks for the detailed answer. This workaround is good for now, I have updated a few Entities successfully. I will go ahead and close this ticket.
Hi,
Thanks for the detailed step by step, this has been helpful. I followed the instructions, and copied all of the existing Mapperly classes into a CustomMapperlyMappings.cs file in the Application and Blazor projects. I have attached all 4 files here for reference.
However I am still having issues and I think I have narrowed it down in this case anyway. I added a brand new entity called FEE. This entity has a nav property to ORGANIZER. ABP Suite has generated a lookup mapper class for this FK relationship, but this class already exists in my CustomMapperlyMappings due to another entity where ORGANIZER is a nav property.
This scenario will obviously continue to resurface, any time I add a nav property to an entity that already exists somewhere else.
How do we work around this? I am Using version 10.1.1.
Thanks,
Karim
RiserAdminApplicationMappers.cs + CustomMapperlyMappers.cs
using RiserAdmin.Fees;
using System.Linq;
using System.Collections.Generic;
using RiserAdmin.SubDomains;
using RiserAdmin.Campaigns;
using RiserAdmin.CreditTransactions;
using RiserAdmin.PaymentTransactions;
using RiserAdmin.AudienceRiserUsers;
using RiserAdmin.CampaignTypes;
using RiserAdmin.Currencies;
using RiserAdmin.Audiences;
using RiserAdmin.RiserUserActions;
using RiserAdmin.CreditWallets;
using RiserAdmin.CampaignChannels;
using RiserAdmin.MessageTemplates;
using RiserAdmin.PaymentProcessors;
using RiserAdmin.SocialMediaBrandPosts;
using RiserAdmin.SocialMediaBrandApps;
using RiserAdmin.BrandFeaturedEvents;
using RiserAdmin.BrandPerformers;
using RiserAdmin.EventPerformers;
using RiserAdmin.EventFeatures;
using RiserAdmin.PerformerMusicGenres;
using RiserAdmin.EventMusicGenres;
using RiserAdmin.TicketAudits;
using RiserAdmin.AttendeeDetails;
using RiserAdmin.TicketOrders;
using RiserAdmin.Tickets;
using RiserAdmin.EventStageSchedules;
using RiserAdmin.EventStages;
using RiserAdmin.EventTicketingAdditonalInfos;
using RiserAdmin.FeaturedEvents;
using RiserAdmin.RiserEvents;
using RiserAdmin.Brands;
using RiserAdmin.UserConsents;
using RiserAdmin.Fans;
using RiserAdmin.TeamMembers;
using RiserAdmin.Promoters;
using RiserAdmin.Performers;
using RiserAdmin.VenueSchedules;
using RiserAdmin.Venues;
using RiserAdmin.Organizers;
using Volo.Abp.Identity;
using RiserAdmin.RiserUsers;
using RiserAdmin.Locations;
using RiserAdmin.SocialMedias;
using RiserAdmin.Medias;
using RiserAdmin.Faqs;
using RiserAdmin.TeamMemberRoles;
using RiserAdmin.Teams;
using RiserAdmin.OrganizerCategories;
using RiserAdmin.EventCategories;
using RiserAdmin.Features;
using RiserAdmin.MusicGenres;
using RiserAdmin.SocialMediaTypes;
using RiserAdmin.TicketTypes;
using RiserAdmin.MediaTypes;
using RiserAdmin.PromoterTypes;
using RiserAdmin.PerformerTypes;
using RiserAdmin.EventTicketingTypes;
using RiserAdmin.VenueTypes;
using RiserAdmin.Cities;
using RiserAdmin.GGTimeZones;
using RiserAdmin.Countries;
using System;
using RiserAdmin.Shared;
using Riok.Mapperly.Abstractions;
using Volo.Abp.Mapperly;
using RiserAdmin.Regions;
using RiserAdmin.CampaignDeliveryLogs;
using RiserAdmin.ConversionEvents;
namespace RiserAdmin;
// This file is managed by ABP Suite. New entity mappers will be added here automatically.
[Mapper]
public partial class FeeToFeeDtoMappers : MapperBase<Fee, FeeDto>
{
public override partial FeeDto Map(Fee source);
public override partial void Map(Fee source, FeeDto destination);
}
[Mapper]
public partial class FeeToFeeExcelDtoMappers : MapperBase<Fee, FeeExcelDto>
{
public override partial FeeExcelDto Map(Fee source);
public override partial void Map(Fee source, FeeExcelDto destination);
}
[Mapper]
public partial class FeeWithNavigationPropertiesToFeeWithNavigationPropertiesDtoMapper : MapperBase<FeeWithNavigationProperties, FeeWithNavigationPropertiesDto>
{
public override partial FeeWithNavigationPropertiesDto Map(FeeWithNavigationProperties source);
public override partial void Map(FeeWithNavigationProperties source, FeeWithNavigationPropertiesDto destination);
}
[Mapper]
public partial class OrganizerToLookupDtoGuidMapper : MapperBase<Organizer, LookupDto<Guid>>
{
public override partial LookupDto<Guid> Map(Organizer source);
public override partial void Map(Organizer source, LookupDto<Guid> destination);
public override void AfterMap(Organizer source, LookupDto<Guid> destination)
{
destination.DisplayName = source.Name;
}
}
OK I can't copy and paste the entire code, it is too long. Don't see a way to attach a file here. In any case, hopefully the problem is clear enough for an answer.
OK that worked, thanks.
This is out of the box ABP, I haven't done anything. The Blazor Global Styles are applied in every other part of the app, and I can modify them no problem. It is just this one particular CSS variable --lpx-brand that is set in the side menu stylesheet that is causing problems.
Any ideas?
Thanks,
Karim
Hi,
After going through all of that, I redeployed, not not seeing any reference in the logs anymore to jquery.dataTables.js. And everything is working OK. Not really sure what resolved this, I have the jquery.dataTables.js file in the lib folder the entire time. But OK it is working now, though I wish I knew what fixed it!
Anyway, thanks for your help. I will close this ticket now.
Karim
Hi,
Yes it did, when I ran abp install-libs it took it out, and left the dataTables.min.js file in there as I mentioned. This is what I would expect.
Just not clear on why the system is requesting the jquery.dataTables.js file:
Volo.Abp.AbpException: Could not find file '/libs/datatables.net/js/jquery.dataTables.js'
As this file has been removed from dataTables in v2.x.
Here is my local environment, I have added the jquery.dataTables.js file back in :
And test environment, also added the jquery.dataTables.js file back in :
Still getting this error. So even though I have added this file it isn't picking it up somehow. Any ideas on how to either fix this or a workaround of some sort to get the site up and running?
Thanks,
Karim
Hi,
Yeah it is running locally, when deployed to our test environment I get this exception. I had deployed a few times on v 8.2.x to test without any issues, this just started happening when I upgraded to 8.3.x .
Thanks,
Karim
Hi,
OK I ran that on the AuthServer and Blazor projects. Still getting the same exception on AuthServer:
Both projects now just have the dataTables.min.js file in libs, which is what you would expect.
So why are we looking for the jquery.dataTables.js file?
Volo.Abp.AbpException: Could not find file '/libs/datatables.net/js/jquery.dataTables.js'
Even if I add this file it isn't picking it up somehow. Any ideas on how to either fix this or a workaround of some sort to get the site up and running?
Thanks,
Karim