Rank: Member
Groups: Joined: 3/28/2007(UTC) Posts: 56
|
Sergey,
I'm having a weird issue that maybe you have seen or might know where to point me to look.
On my local machine the Cancel all changes button works great, we also have a dev server that I push to and it works great. However, when I push to a test server we use for testing, the customizable message no longer works right. It says "ExitMessage" instead of "Changes are not saved." This seems very weird to me and all I can think of is maybe something in the GAC is not working right? And all other messages work fine too, this is the only one I have seen.
It's taking the resource name, not the value, but only on a specific server, and its the exact same code. (I publish to a local directory and then copy files to the server, so they are the exact same files between the two servers)
any help would be appreciated.
thanks, Nate
|
|
|
|
Rank: Member
Groups: Joined: 3/28/2007(UTC) Posts: 56
|
Seems the issue was the fact that the GetLocalizedName in PhotoEditorModel.cs expects to find an actual file. If you do not allow the precompiled app to be updatable it will compile the app_localresources directories in the project. Then the file isn't found, it's compiled.
Is there a way to update this function so that I can build my app without allowing it to be updatable?
|
|
|
|
Rank: Advanced Member
Groups: Joined: 6/5/2007(UTC) Posts: 57
|
Hello, Nate! Thank you for your post! We confirm the problem and have temporary solution for you. (So, we plan to fix this problem in next release of PhotoEditor) You should just replace GetLocalizedName method with the following: Code:public static string GetLocalizedName(string caption, string name)
{
string result = name;
Object o = HttpContext.GetLocalResourceObject(Config.PhotoEditorLocation + "/" + caption, name);
if (o != null)
{
result = o.ToString();
}
return result;
}
I hope this will help you. Edited by user Monday, December 17, 2007 7:32:41 PM(UTC)
| Reason: Not specified |
Sincerely yours, Sergey Peshekhonov.
Aurigma Technical Support Team.
|
|
|
|
Rank: Member
Groups: Joined: 3/28/2007(UTC) Posts: 56
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.