Did St. James write the Divine Liturgy of St. James? This is related to the question titled "What is the earliest written surviving liturgy?", but different in what it is asking. I was reading on Infogalactic the following.


  The Liturgy of Saint James is considered to be the oldest surviving liturgy developed for general use in the Church. Its date of composition is still disputed, but most authorities propose a fourth-century date for the known form, because the anaphora seems to have been developed from an ancient Egyptian form of the Basilean anaphoric family united with the anaphora described in The Catechisms of St. Cyril of Jerusalem.


And the following on Catholic Encyclopedia


  That it was actually composed by St. James the Less, as first Bishop of Jerusalem, is not now believed by any one.


Did the church fathers lie?
If we consult the Orthodox Wiki here we get a small bit of history about the Liturgy of St James.


  The general scholarly consensus is that this liturgy originated in
  Jerusalem during the late fourth or early fifth century. It quickly
  became the primary liturgy in Jerusalem and Antioch. Although it was
  later superseded in Jerusalem and Antioch by the Liturgy of St. Basil
  and the Liturgy of St. John Chrysostom, it had already spread to other
  areas of the Church. The oldest manuscript traditions are in Greek and
  Syriac, and there are also extant manuscripts in Armenian, Ethiopic,
  Georgian, and Old Slavonic.
  
  One leading theory today is that of John Fenwick, who argues that the
  similarities between this liturgy and that of St. Basil demonstrate
  their respective developments from a common source, now lost, but
  which is best preserved in the Egyptian recension of the Liturgy of St
  Basil. Fenwick suggests that the Liturgy of St. James was composed by
  St. Cyril of Jerusalem c. 370.


And it continues with this:


  In the Eastern Orthodox Church, the liturgy is now generally only
  celebrated on the Feast of St. James, on October 23rd, and only in
  some parishes and monasteries, particularly in the Jerusalem
  Patriarchate. Two different rubrics are commonly followed; the
  Slavonic liturgy linked to in full below is celebrated in the
  traditional manner, ad orientem, on an altar behind the iconostasis,
  in a manner similar to the contemporary Syriac Orthodox use.


So we can see that although it may not have been written by St James it is clearly dedicated to him through its' ongoing use on his feast day.

I prefer not to take a view that castigates the Church Fathers! :)