We also need to do the same for:
public DocumentReference createDocumentReference(String wiki, String space, String
page)
FTR:
* 1300 places to fix in Java using new DocumentReference(wiki, space, page)
* 90 places using $services.model.createDocumentReference(…) in *.vm
* 140 places using $services.model.createDocumentReference(…) in *.xml
That’s a lot…
Thanks
-Vincent
On 17 Jun 2015 at 09:57:38, vincent(a)massol.net (vincent(a)massol.net) wrote:
Hi devs,
Ideally I believe we should remove the new DocumentReference(wiki, space, page)
constructor. However, for backward compatibility we cannot do this.
So I propose that we start by deprecating it as we should now always use the new
DocumentReference(wiki, List<String> spaces, page) one.
What I suggest we do to flesh out all issues related to Nested Spaces, is to start by
removing it on our dev machines to find out places to fix.
Then once we’ve progressed enough to not break everything, I suggest we move it to Legacy
with an Aspect to make sure we don’t use it anymore.
WDYT?
Thanks
-Vincent