Hi All,

Previously we were able to use the following code to insert an RXT instance
dynamically.

var asset = require('rxt').asset;
var am = asset.createUserAssetManager(ctx.session, 'dish');
var assetInstance = {
        name: "Name with [ ]",

        attributes: {

            overview_name: randomNumber +
descriptorXML.overview.name.text(),

                    ..............

        }
    };

am.create(assetInstance);


But with latest build from ES, we were unable to do so. We get the
following error :

[2015-04-30 12:46:07,159] ERROR
{org.wso2.carbon.registry.eventing.services.EventingServiceImpl} -  Unable
to add subscription
org.wso2.carbon.event.core.exception.EventBrokerException: Topic name
/registry/notifications/StoreLifecycleStateChange/_system/governance/dishes/Name
with [ ] is not a valid topic name. Only alphanumeric characters, hyphens
(-), stars(*), hash(#) ,dot(.),question mark(?) and underscores (_) are
allowed.



So, would like to know, was there a change in createUserAssetManager
method recently?

Thank you!

-- 
Buddhima Wijeweera
Software Engineer; WSO2 Inc.; http://wso2.com ,

Mobile: +94 71 427 9966
Email: [email protected]
Blog:   https://buddhimawijeweera.wordpress.com
GitHub Profile: https://github.com/Buddhima
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to