Projects tigase _server tigase-muc Issues #77
Script to create new MUC/remove MUC from web UI (#77)
Daniel Wisnewski opened 10 years ago
Due Date
2016-09-29

No script for MUC component lists make new room, is there a way we can implement this?

  • Wojciech Kapcia (Tigase) commented 10 years ago

    Yes, this can be implemented - I would say 4-6 hours should be enough, including also room configuration and memberships. Not sure if we need it though.

    (moved to tigase-muc)

  • Artur Hefczyc commented 10 years ago

    Might be useful but I agree, it is low priority, let's move it to 7.2

  • Daniel Wisnewski commented 9 years ago

    Removing parent as this is not a UI bug, making it a standalone feature for future use.

  • Bartosz Małkowski commented 9 years ago

    Implemented in master branch.

  • Daniel Wisnewski commented 9 years ago

    Pushed pending stable v7.2.0 build, cannot use muc build w/older versions requires kernel.

  • Daniel Wisnewski commented 8 years ago

    I attempted to run this script, however an error results:

    java.lang.RuntimeException: tigase.component.exceptions.RepositoryException: Error while saving room chatomm@muc.serverbox to database
    

    console.log shows the following:

    tigase.db.UserNotFoundException: User does not exist: multi-user-chat
    	at tigase.db.jdbc.JDBCRepository.getUserUID(JDBCRepository.java:1253)
    	at tigase.db.jdbc.JDBCRepository.setData(JDBCRepository.java:773)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at tigase.stats.StatisticsInvocationHandler.invoke(StatisticsInvocationHandler.java:80)
    	at com.sun.proxy.$Proxy34.setData(Unknown Source)
    	at tigase.db.UserRepositoryMDImpl.setData(UserRepositoryMDImpl.java:352)
    	at tigase.muc.RoomConfig.write(RoomConfig.java:492)
    	at tigase.muc.repository.inmemory.InMemoryMucRepository.updateDefaultRoomConfig(InMemoryMucRepository.java:329)
    	at tigase.muc.repository.IMucRepository$updateDefaultRoomConfig$1.call(Unknown Source)
    	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
    	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110)
    	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)
    	at muc.admin.Script164.run(Script164.groovy:44)
    	at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:344)
    	at org.codehaus.groovy.jsr223.GroovyCompiledScript.eval(GroovyCompiledScript.java:41)
    	at tigase.server.script.Script.runCommand(Script.java:159)
    	at tigase.server.BasicComponent.processScriptCommand(BasicComponent.java:1036)
    	at tigase.component.ComponenScriptCommandProcessor.processScriptCommand(ComponenScriptCommandProcessor.java:27)
    	at tigase.component.modules.impl.AdHocCommandModule.processScriptAdHoc(AdHocCommandModule.java:144)
    	at tigase.component.modules.impl.AdHocCommandModule.process(AdHocCommandModule.java:137)
    	at tigase.component.modules.StanzaProcessor.process(StanzaProcessor.java:56)
    	at tigase.component.modules.StanzaProcessor.processPacket(StanzaProcessor.java:77)
    	at tigase.component.AbstractKernelBasedComponent.processPacket(AbstractKernelBasedComponent.java:97)
    	at tigase.muc.MUCComponent.processPacket(MUCComponent.java:128)
    	at tigase.server.AbstractMessageReceiver$QueueListener.run(AbstractMessageReceiver.java:1538)
    

    Tested in derby and MySQL.

issue 1 of 1
Type
New Feature
Priority
Minor
Assignee
RedmineID
3443
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-muc#77
Please wait...
Page is in error, reload to recover