7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » DataObjectManager & SS 2.3.2 (rc) & Translatable
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 2979 Views |
-
DataObjectManager & SS 2.3.2 (rc) & Translatable

4 June 2009 at 1:00am
Hi there,
i run into some issues with DataObjectManager - especially FileDataObjectManager and ImageDataObjectmanager on translated pages with Silverstripe 2.3.2 (rc2).
It works fine for the original Page - the UploadForm shows up - but not for translated pages - it gives me "I can't handle sub-URLs of a CMSMain object." instead. This is pretty strange because the upload form url is exactly the same.
So I played around with the upload form url and added ?locale=en_US / de_DE etc. to it. This finally helped to load the form but the controllerID in DataObjectManager seems to point back to the original Page Object and not to the translated one...
Could please someone confirm that issue or have a working solution?
Is DOM (or the underlying TableListField) already adapted to the new translatable way?Thanx in advance
drx -
Re: DataObjectManager & SS 2.3.2 (rc) & Translatable

6 June 2009 at 10:05am Last edited: 6 June 2009 10:09am
I finally found some time to break this down myself.
The problem: the Locale setting is not persistent on ajax calls and gets lost. I created a ticket for this issue: http://open.silverstripe.com/ticket/4199.
A quick fix can also be found there which patches the CMSMain.php.
This is for Silverstripe 2.3.2-rc2.Hope this helps
drx -
Re: DataObjectManager & SS 2.3.2 (rc) & Translatable

1 September 2009 at 8:06am
Has been resolved this problem?
| 2979 Views | ||
|
Page:
1
|
Go to Top |

