Soma Posted January 21, 2013 Share Posted January 21, 2013 When I save a page (without any changes) it always says there's 3-4 changes although I haven't done any changes. It turns out the language fields get "unset" and somehow PW makes changes to those fields altough nothing has changed. For example tracking the page save and getting $page->getChanges() I get this unset:headline unset:title title headline and title are language fields. Not sure what's about the title. So the save message shown is Saved: /templates/ (3 changes) Link to comment Share on other sites More sharing options...
ryan Posted January 21, 2013 Share Posted January 21, 2013 Thanks I can reproduce that and will figure out what it is. Link to comment Share on other sites More sharing options...
ryan Posted January 21, 2013 Share Posted January 21, 2013 This is now fixed on the dev branch. 1 Link to comment Share on other sites More sharing options...
Soma Posted January 21, 2013 Author Share Posted January 21, 2013 Works like a charm now! Thanks Ryan! 2 Link to comment Share on other sites More sharing options...
Soma Posted January 21, 2013 Author Share Posted January 21, 2013 Little afterwards question to this subject. When changing a language title field (only changing one of languages) getting $page->getChanges() it gives 0 => title 1 => title Would it be possible to also see what language field has changed of title? Minor but thought it would be great to have the possibility. Link to comment Share on other sites More sharing options...
ryan Posted January 21, 2013 Share Posted January 21, 2013 I agree it would be nice, but I don't see a simple solution to this one. The code that's tracking the changes doesn't know anything about multi language fields. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now