Base solution for your next web application

Activities of "mrvithan"

I have update the package using Update-Package to get latest update. ('Cause i need CustomData for MenuItemDefinition). However, after finish the update, I get a few error as seen in screenshot. Any fixed or help ?

I am trying to override abp.message.info and other abp.message when throw an userfriendlyexception. I am trying

abp.message.info = function (detail, title) { };

But nothing happen. Any help ?

PS. I know this might not related to ABP issue. But any help will be thank you.

I have tried to override following this topic #308, but it won't work. Still show default error message.

Solved already.

I use AutoMapper and there are some fields that depend on 'Don't want' to output back to client. For example

public virtual string Exception {get;set;} public virtual bool IsSuccess { get { return string.IsNullOrEmpty(Exception); } }

I don't want to serialize Exception.

We just find out that when we pass a very long parameter into an AppService. The audit log will auto trim and insert '...' instead then insert the string into "Parameters" field. Are there any possible to turn this feature off ?

Thx for help.

I am trying to use InsertOrUpdate method in IRepository. I can insert an entity but not for update. It throws an error saying the same entity key is exists. Do you have any example how to use it ?

And another question. How to create 2 way-binding in Entity Framework ? for example, A task has a assigned person. but from person class, how to automatically has "Tasks" that the person is on. Now i have manual call ITaskIRepository.where(p => p.PersonId == id) to get the task list. I know this is quite not related with ABP, but a help is very appreciated.

PS. if you would like me to split into 2 question, please lets me know.

Thx for help

For the first issue: here is the shot code snap:

I have a IInputDto class said :

public class TheaterUpdate : IInputDto { public int Id;

[Required] public string name; }

Then in a AppService said :

public class TheaterAppService: ITheaterAppService { public void AddOrUpdate(TheaterUpdate entity) { var obj = new Theater() obj.Id = entity.Id; obj.Name = entity.Name; _repo.InsertOrUpdate(obj);

} }

then i will get the Exception said there is already has the same entity key exists. And suggestion ??

For the second issue, i will try in couple days and will feedback asap.

How to get the current selected language from Server-Side ?

Solved. After running thru all source code, i found this LanguageManager !!!.

Showing 1 to 10 of 33 entries