Jump to:

10993 Posts in 2727 Topics by 1818 members

All other Modules

SilverStripe Forums » All other Modules » [UserForms] User Defined Forms appearing in SiteTree always as Green "Changed"

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 854 Views
  • dizzystuff
    Avatar
    Community Member
    93 Posts

    [UserForms] User Defined Forms appearing in SiteTree always as Green "Changed" Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: [UserForms] User Defined Forms appearing in SiteTree always as Green "Changed" Link to this post

    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.

  • dizzystuff
    Avatar
    Community Member
    93 Posts

    Re: [UserForms] User Defined Forms appearing in SiteTree always as Green "Changed" Link to this post

    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.

    854 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.