This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
hi Joe:
When delete a url map, error occurs.
file UrlManager.cs:
private void dlUrlMap_ItemCommand(object sender, DataListCommandEventArgs e) {
int urlID = (int)dlUrlMap.DataKeys[e.Item.ItemIndex]; //
...
}
When
int urlID = (int)dlUrlMap.DataKeys[e.Item.ItemIndex];
changed to below
int urlID = Convert.ToInt32(dlUrlMap.DataKeys[e.Item.ItemIndex]); then can work.
Thanks!
Hi,
Thanks for letting me know. I just made the same fix here. I suspect this bug only occurred with SQLite and does not affect other db versions of mojoPortal.
Best,
Joe