[MGNLDATA-39] Activate all not working Created: 24/Jul/08  Updated: 24/Jul/08  Resolved: 24/Jul/08

Status: Closed
Project: Magnolia Data Module (closed)
Component/s: None
Affects Version/s: 1.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Alvaro Arce Assignee: Magnolia International
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MacosX, but probably also in all the other environments


Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

The button activate all of the Data module is not working.
Whenever it is pressed the following exception is thrown :

ERROR  info.magnolia.cms.servlets.MVCServletHandlerImpl MVCServletHandlerImpl.java(execute:130) 23.07.2008 21:22:42  can't call command: activateAll
java.lang.NoSuchMethodException: info.magnolia.module.data.trees.GenericDataAdminTree.activateAll()
	at java.lang.Class.getMethod(Class.java:1581)
	at info.magnolia.cms.servlets.MVCServletHandlerImpl.execute(MVCServletHandlerImpl.java:121)
	at info.magnolia.cms.servlets.CommandBasedMVCServletHandler.execute(CommandBasedMVCServletHandler.java:87)
	at info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java:124)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at info.magnolia.cms.filters.ServletDispatchingFilter.doFilter(ServletDispatchingFilter.java:143)


 Comments   
Comment by Magnolia International [ 24/Jul/08 ]

(checked) Your custom module bootstraps and overrides the /modules/data/commands node, and only had the "activate" command defined. If the goal was to redefine this command but not to remove the other ones, the bootstrap file should be updated accordingly. Same goes for the tree, which override the data and dataType trees, probably unnecessarily.

Generated at Mon Feb 12 05:10:45 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.