Hallo Hamid,

da beschwert sich der Confluence Server, das hat nichts mit Rails zu tun:

http://lmgtfy.com/?q=com.atlassian.confluence.rpc.RemoteException%3A+You%27re+not+allowed+to+view+that+page

Und wenn das hier mit den Fragen so weiter geht, dann werde ich mich aus der Mailingliste austragen, das ist ja schlimmer als Spam!

Ahoi

Am 13.10.2009 um 10:07 schrieb hamid i.:

hallo freunde danke für eure hilfe gestern ! bin weit gekommen allerdings noch nicht ganz durch...

hab jetzt folgendes problem. mein controller schmeißt mir folgende exception mit der ich nix anfangen kann..irgendwie
machen die klassen vom atlassian probleme wass aber nicht sein sollte:

RuntimeError in BooksController#index

java.lang.Exception: com.atlassian.confluence.rpc.RemoteException: You're not allowed to view that page, or it does not exist.
RAILS_ROOT: C:/FORCE-~1/rails_apps/books_with_simple_data
Application Trace | Framework Trace | Full Trace
app/controllers/atlassian/confluence4r.rb:38:in `method_missing'
app/controllers/little_helpers_spezial.rb:43:in `make_ready_for_export_do' app/controllers/little_helpers_spezial.rb:30:in `make_ready_for_export'
app/controllers/books_controller.rb:17:in `index'

code :

class BooksController < ApplicationController
def index

require "atlassian/confluence4r"
require "atlassian/jira4r"
require 'little_helpers_spezial'
confluence = Confluence::Server.new("https://spoi.telekom.de/info";)
confluence.login(Einloggen_spezial::X_login, Einloggen_spezial::X_pwd)

@source = params[:book][:source] unless params[:book].nil?
@depth = params[:book][:depth] unless params[:book].nil?

x = Little_Helpers_spezial.make_ready_for_export(confluence, @source , @depth)
@destination = params[:book][:destination] unless params[:book].nil?
@dest_space = params[:book][:dest_space] unless params[:book].nil?
@parentId = params[:book][:parentId] unless params[:book].nil?
Little_Helpers_spezial.save(confluence, x, @destination, @dest_space,@parentId)
end
end

Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you. _______________________________________________
rubyonrails-ug mailing list
rubyonrails-ug@headflash.com
http://mailman.headflash.com/listinfo/rubyonrails-ug

_______________________________________________
rubyonrails-ug mailing list
rubyonrails-ug@headflash.com
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an