I have been testing Merchello 2.6.0 with a brand new Umbraco 7.7.2 install.
I added a few collections in the products section. But I can't seem to delete these collections. I've tried deleting all products associated with the collection and deleting all products but I still can't delete a collection.
Nothing seems to happen, I get the warning about deleting the collection but when I click delete nothing happens, there is no confirmation dialog, and looking in the network connections in the browser console nothing is sent to umbraco.
No error message, frontend nor backend. Checked fiddler and network traffic.
As if the data-ng-click="save()" method is never invoked, or at least reaching a dead-code spot.
Your suggestion 2 didn't work as Angular can't probably late bind its directives. However, you suggestion 1 did the trick.
I renamed the file name and backoffice reported me a missing file. Then I renamed back to its original name and now I can see the changes. I can now delete a collection as well.
I think there is some sort of Umbraco cache that might be causing the issue.
Can't delete collection
I have been testing Merchello 2.6.0 with a brand new Umbraco 7.7.2 install.
I added a few collections in the products section. But I can't seem to delete these collections. I've tried deleting all products associated with the collection and deleting all products but I still can't delete a collection.
Nothing seems to happen, I get the warning about deleting the collection but when I click delete nothing happens, there is no confirmation dialog, and looking in the network connections in the browser console nothing is sent to umbraco.
Same versions, and same problem here. Did you manage to figure out what was wrong?
@Mark Schroeder, please see my initial post for a quickfix before next Merchello release. I believe a fix will be part of next Merchello release, as the change was done: https://github.com/Merchello/Merchello/commit/c39fffecebf304f59c4b87967518bdd557fee061#diff-0228d2063f2672904bed7da1b5d35831
I'd like to second this post.
No error message, frontend nor backend. Checked fiddler and network traffic. As if the data-ng-click="save()" method is never invoked, or at least reaching a dead-code spot.
Looking at the repo code: https://github.com/Merchello/Merchello/blob/merchello-dev/src/Merchello.Web.UI.Client/src/views/collections/dialogs/delete.staticcollection.html
It seems the save() method should be confirmDelete()...
Dirty-fix (not recommended): Locate App_Plugins/Merchello/Backoffice/Merchello/dialogs/delete.staticcollection.html
replace
with
Please note, this will break when updating Merchello.
It's worked, thanks :)
Even after this change, I'm still getting the old markup. I think I need to do something with cache, but don't know what do.
Could your please assist?
That "Dirty Fix" worked for me...
@saadi - I had the same issue as you, but I did a hard refresh and got the new mark up.
Thanks @Ayo. However, I did hard refresh from Chrome but it didn't work for me. It is strange.
Are you sure you are changing the right file? View Source can you see the updated code....
Try....
Thanks it worked!!!
Your suggestion 2 didn't work as Angular can't probably late bind its directives. However, you suggestion 1 did the trick.
I renamed the file name and backoffice reported me a missing file. Then I renamed back to its original name and now I can see the changes. I can now delete a collection as well.
I think there is some sort of Umbraco cache that might be causing the issue.
Again, I appreciate your help.
no problem, glad I can help. I'm new to merchecllo too, working on my first project using it.
Good luck!
is working on a reply...