We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34950
    • 31 Posts
    Yet another bug. After creating TVs (which contain @SELECT) and adding them to documents I make sure they are working. After clicking property set on any one of them and closing the window with Cancel TVs become uneditable. It looks like this: after editing saving is successful, but the web page looks like the thing never got saved in the database. Oh, and btw, i got error.log full of these things:
    (ERROR @ /Revo/manager/index.php) Error 42000 executing statement:
    Array
    (
    [0] => 42000
    [1] => 156
    [2] => [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near the keyword ’constraint’.
    )

    The only way I can overcome this is deleting all TVs and recreating them which is ...
    My configuration is: MODX Revo 2.1rc4 Traditional, OS is Win Server 2008 R2, IIS 7.5, on SQL Server database 2008 express, PHP is 5.3.6. I know this is RC, but I basically doesn’t work with SQL server. Hopefully someone reads this.

    Edit: I broke it again. Tried to add property via [[*TVname?property=`value`]].
    Here is error.log:
    (ERROR @ /Revo/connectors/element/tv.php) modTemplateVarTemplate: Attempt to set NOT NULL field rank to NULL
      • 28215
      • 4,149 Posts
      Can you file these issues here?
      http://bugs.modx.com/

      Bug reports in forums tend to get lost. Thanks!
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com