Uploaded image for project: 'FTS'
  1. FTS
  2. FTS-1042

t_credential.termination_time should not have the "ON UPDATE" clause

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: fts 3.7.8
    • Component/s: MySQL
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      None

      Description

      Right now, if t_credential is updated without an explicit termination_time, this ON UPDATE is triggered, and the current timestamp is used.

      sqlalchemy however doesn't bother updating explicitly that field when the value is the same, so this two behaviours clash, and causes a flipping value to be set on that field, if the delegation is forced with the same proxy.

      I don't think it makes sense to have that ON UPDATE, because it doesn't make much sense to assume the proxy terminates now.

        Attachments

          Activity

            People

            Assignee:
            aalvarez Alejandro Alvarez Ayllon (Inactive)
            Reporter:
            aalvarez Alejandro Alvarez Ayllon (Inactive)
            Component Watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: