moving this to dev list.

yes, you should probably be calling CacheManager.invalidate() for newly created objects, but that's not your problem. That only affects the presentation layer caches, which are not involved in the web services.

that problem sounds more like the new user/weblog is not actually being saved. have you verified that it ends up in the db? it's possible that you need to add some Roller.flush() calls in the right place to make sure that any changes that you make are actually flushed to the db. that stuff was added in back in 2.3.

-- Allen


Jeff Blattman wrote:
i am using the AAPP service to create a weblog. this works fine, and i can access the weblog from the roller UI. however, when i do a get from the AAPP service, the new weblog is not present. also, if i do a post to the weblog from the APP service, it does not find the weblog. i have the same issue when users are created from the AAPP endpoint.

should the AAPP service be doing something with CacheManager when a weblog / user is created? when a resource is deleted or modified, it does a CacheManager.invalidate() ... ?

thanks.

Reply via email to