Add Error Messaging when adding same content/widget twice on a page
Right now when you try to place the same widget or content in the same container on a page you get:
"Ooops, sorry. This has caused a problem"
We should definitely error message when a user tries to add the same content to a container where it already exists, but we should have more elegant error message stating something like:
"Duplicate Content Error: Content already exists in the same container on the page"
oops on duplicate content: http://screencast.com/t/NV3t5j6M7MSA Log error: http://pastebin.com/RMeAgnVe
Included error message when someone tries to include a content/widget that is already included in a container, instead of just show the "Ooops, sorry. This has caused a problem" generic message.
Files Update
- src/com.dotmarketing/portlet/director/action/DirectorAction.java
- dotCMS/WEB-INF/Language.propeties
Now we get both messages... for me the dojo error message that oswaldo placed flashes a little too quickly to read, but at least it is more informative... passing on.