Soma Posted January 21, 2013 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)
ryan Posted January 21, 2013 Posted January 21, 2013 Thanks I can reproduce that and will figure out what it is.
Soma Posted January 21, 2013 Author 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.
ryan Posted January 21, 2013 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.
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