[MGNLSTK-1348] Install demo-contents, forum-templates and grant permissions for the forum-module Created: 10/Feb/14  Updated: 17/Apr/14  Resolved: 03/Mar/14

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: demoproject
Affects Version/s: 2.7.3
Fix Version/s: 2.7.3

Type: Task Priority: Neutral
Reporter: Christoph Meier Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MGNLFORUM-246 Use ContentAppDescriptor for the foru... Closed
dependency
is depended upon by MGNLSTK-1351 Ship demo-content-pages with forums-c... Closed
is depended upon by MGNLSTK-1352 Make Forum-Page-Template with availab... Closed
is depended upon by MGNLSTK-1353 Grant existing user(s) eric and peter... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Install / do the following thing for forum 3.3:

  • Grant Eric the forum-admin-permissions (roles "forum-moderator-base" and "forum_ALL-admin") and Peter the forum-moderator-permissions ("forum_ALL-moderator" and "forum-moderator-base").
  • add some demo-content to the demo-features.


 Comments   
Comment by Christoph Meier [ 11/Feb/14 ]

adding a test for the MVH

Comment by Christopher Zimmermann [ 12/Feb/14 ]

Review:

  • Rename:tryMakePeterForumModerator to makePeterForumModerator
  • Rename:tryMakeEricForumAdmin to makeEricForumAdmin
  • Typos in tryMakeEricForumAdmin - it refers to "peter" twice.
Comment by Christoph Meier [ 18/Feb/14 ]

I have to reopenthis, since it belongs together with MGNLSTK-1352 which has been reopenend, too.
If the template changesm the content will change, too.

Comment by Roman Kovařík [ 24/Feb/14 ]
  1. Available components for forum template are not defined.
  2. Thread view dialog - Fixed thread - select new:
    Caused by: info.magnolia.objectfactory.MgnlInstantiationException: Unable to resolve parameters for constructor public info.magnolia.ui.contentapp.choosedialog.ContentAppChooseDialogPresenter(info.magnolia.ui.form.field.factory.FieldFactoryFactory,info.magnolia.objectfactory.ComponentProvider,info.magnolia.cms.i18n.I18nContentSupport,info.magnolia.ui.dialog.actionarea.DialogActionExecutor,info.magnolia.ui.api.app.AppContext,info.magnolia.ui.dialog.choosedialog.ChooseDialogView,info.magnolia.i18nsystem.I18nizer,info.magnolia.i18nsystem.SimpleTranslator)
    	at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:77)
    	at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstanceWithParameterResolvers(GuiceComponentProvider.java:121)
    	at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstance(GuiceComponentProvider.java:107)
    	at info.magnolia.ui.contentapp.ContentApp.openChooseDialog(ContentApp.java:92)
    	at info.magnolia.ui.framework.app.AppControllerImpl.openChooseDialog(AppControllerImpl.java:406)
    	at info.magnolia.ui.form.field.LinkField$3.buttonClick(LinkField.java:247)
    	at sun.reflect.GeneratedMethodAccessor511.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:597)
    	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:508)
    	... 103 more
    
Comment by Christoph Meier [ 03/Mar/14 ]

Available components for forum template ARE defined; at least in a simple way like for all other stk-templates, too. (Check the node /modules/standard-templating-kit/config/site/templates/availability/templates/stkForum in the config-app). This means, it is possible to add pages which are not using forum-template as child-page below the "forum-root", but that's ok.

For the observed error in the review-comment ("Thread view dialog - Fixed thread - select new", see above); i've created an new ticket in the module forum. => MGNLFORUM-246; the observerd issue is due to a missconfiguration of the forum-app

Comment by Roman Kovařík [ 04/Mar/14 ]

Please squash to one commit when integrating.

Comment by Christoph Meier [ 04/Mar/14 ]

Final commit on master contains "all" form

Generated at Mon Feb 12 07:35:43 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.