Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1403 (closed defect: fixed)

Opened 12 years ago

Last modified 9 years ago

ToscaWidgets paths mounted wrong when server.webpath used

Reported by: paj Owned by: alberto
Priority: normal Milestone: 1.0.x bugfix
Component: ToscaWidgets Version: 1.0.2
Severity: normal Keywords:
Cc:

Description

In my dev.cfg I've set server.webpath so my app is not mounted at the root. Now, ToscaWidgets? that were previously mounted at, say: /toscawidgets/resources/toscawidgets.widgets.forms.calendars/static/calendar/calendar-system.css Are now mounted at: /invweb/invweb/toscawidgets/resources/...

Notice the double /invweb - it should only be there once. I managed to get myself going for now, using the attached patch. Clearly this patch isn't ready to be committed, but I hope it helps.

Attachments

dodgy-webpath.patch Download (625 bytes) - added by paj 12 years ago.
Hacky patch that gets me going

Change History

Changed 12 years ago by paj

Hacky patch that gets me going

comment:1 Changed 12 years ago by alberto

  • Status changed from new to closed
  • Resolution set to fixed

Well, I think the patch isn't that dodgy given the circumstances... :) mods.tg is really a big hack to get TW running in TG 1.0 since the preferred way for it to integrate with the framework is through its middleware (which provides a context and serves resources).

I couldn't manage to do so due some obscure reason I don't remember right now so mods.tg is what there is. 1.1 will support TW's native means of integration so I see no problem in applying this if it Does The Job now since the whole hack will not be needed, eventually.

Applied at [3079]. Thanks! :)

Alberto

comment:2 Changed 12 years ago by alberto

  • Status changed from closed to reopened
  • Resolution fixed deleted

Patch breaks whe using multimple RootControllers?. See this  thread for more info.

Alberto

comment:3 Changed 11 years ago by Chris Arndt

  • Milestone changed from 1.0.3 to __unclassified__

comment:4 Changed 11 years ago by khorn

I this still an issue?

comment:5 Changed 11 years ago by alberto

  • Status changed from reopened to closed
  • Resolution set to fixed

This should be fixed since  http://beta.toscawidgets.org/trac/tw/changeset/289%3A825152e28ab0.

Please create a ticket at  ToscaWidgets's Trac if it's not.

Alberto

comment:6 Changed 9 years ago by chrisz

  • Milestone changed from __unclassified__ to 1.0.x bugfix
Note: See TracTickets for help on using tickets.