I left i for a couple of hour and in the progress of writing an answer I just wanted to see the error message again - and now it works ! - no idea what has happened
Can you check something, please? In the Content Section, pick a node you have created previously, go to the properties tab, look at the last published date, then hit save and publish.
Does it show current date and time? If you hit save and publish again, what does it show?
I had a very similar issue - then found this - if I double save everything, it works. This does only seems to happen on a previously created node ie a new node publishes correct first time, but it will not show in a list until I have double published. I have upgraded to 6.0.1, then 6.0.2 and it is still the same.
Would appreciate your feedback because if it is a bug, fixing it would maybe solve many issues.
Have reported this as a bug and Morten has fixed it. You can read his explanation here and I think it does cover how this type of error was being produced.
I have rebuild the complete site - maybe I could have been saved by this solution but I spend weeks trying to solve this.
The site had lived and been upgraded since 4.3 so the 'spring cleaning' also had lots of benefits. It looks to me as if the current database model is a lot better now than it was previously.
GetProperty value
Hi
I'm using 6.0.1
When I call item.GetProperty("newsTeaser").Value my script fails but when I iterate over item.PropertiesAsList
I see a property with the alias newsTeaser and with a value.
item.GetProperty("newsTeaser") also returns false
Is this a bug or am I doing something wrong?
/Paul S
Hi Paul
What error message do you get? And what does your full code look like?
/Jan
Hi
I left i for a couple of hour and in the progress of writing an answer I just wanted to see the error message again - and now it works ! - no idea what has happened
Thanks for participating, Jan
/Paul S
Hey, what type is newTeaser? Did you publish the page in the time between you asking the question and it working. What value were you trying to get?
Hi
newsTeaser is of tye string and no I didn't publish in between - so sort of caching issue I would guess but I don't know.
/Paul S
Hi Paul
Can you check something, please? In the Content Section, pick a node you have created previously, go to the properties tab, look at the last published date, then hit save and publish.
Does it show current date and time? If you hit save and publish again, what does it show?
I had a very similar issue - then found this - if I double save everything, it works. This does only seems to happen on a previously created node ie a new node publishes correct first time, but it will not show in a list until I have double published. I have upgraded to 6.0.1, then 6.0.2 and it is still the same.
Would appreciate your feedback because if it is a bug, fixing it would maybe solve many issues.
Regards G
HI
It makes the pages crash - I'm rebuilding the site now
/Paul S
Paul did you get this sorted? Charles :)
Hi Guys
Have reported this as a bug and Morten has fixed it. You can read his explanation here and I think it does cover how this type of error was being produced.
http://issues.umbraco.org/issue/U4-1883
Only some properties were being updated.
Regards
G
Hi all
I have rebuild the complete site - maybe I could have been saved by this solution but I spend weeks trying to solve this.
The site had lived and been upgraded since 4.3 so the 'spring cleaning' also had lots of benefits. It looks to me as if the current database model is a lot better now than it was previously.
/Paul S
is working on a reply...