Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

[UserForms] User Defined Forms appearing in SiteTree always as Green "Changed"


Go to End


3 Posts   1146 Views

Avatar
dizzystuff

Community Member, 94 Posts

13 June 2010 at 1:43pm

Hey Guys

I've pushed the site I'm working on to most of the latest builds of the modules being used and the latest SS 2.4 itself.

Having a weird thing happening with User Defined Form pages though - in the Site Tree of the CMS Admin these pages are coloured green, as in signifying they have "changed".

This happens with every UDF as soon as I've saved it a first time.

Not a show stopper, but it would be nice to resolve if possible.

Any ideas?

Cheers
dizzy

Avatar
Willr

Forum Moderator, 5523 Posts

13 June 2010 at 5:23pm

Yes this sadly is a 'fix' for an issue I encountered with using UDF while using it with workflow. It would only publish a page which had been detected as changed. Not sure but I figured I shouldn't go messing around with workflow. Implementing change detection for a UDF form would have been a bit time consuming so for now it simply always returns that it has changed. In the long term I would want to make the change detection actually detect if a value has changed! Things that it would have to check for include changes in email recipients and changes in the form. I'm sure there is a couple other cases that would also need to check for but it was fairly low on my todo list. I'll fix that issue up for the next release.

Avatar
dizzystuff

Community Member, 94 Posts

13 June 2010 at 5:52pm

Hi Willr, thanks for replying. Yeah I see how that makes sense. Like I said, it's not a show stopper but it does break the cms user's ux a little. I'll run with it and look forward to the next release. Great mod btw, my clients love it.