Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      phpcr knows reference and referrer (backlink). the reference is a property of a node with a defined name. the referrer is an information on the node without a property name in PHPCR. we have the annotation @Referrers to map this information onto a document field. the annotation can take an optional filter argument to only use references pointing to this node with a specific phpcr name.

      we could add something like the cascade option found in the orm to allow assigning a document to a referrer property and automatically persist it. we will need to explicitly specify the reference property name to be used on the source document in this case (orm uses mappedBy for this)

      github user mdekrijger started working on this. today, he wrote: Adding the annotations was quite easy, still figuring out the unitofwork where the actual processing must be implemented. Currently I can't spend much more time on it until end of june. If it isn't done yet by that time, I surely will pick it up from there.

        Activity

        Hide
        Lukas Kahwe added a comment -

        yes .. referrer changes are cascaded with control over the cascading

        Show
        Lukas Kahwe added a comment - yes .. referrer changes are cascaded with control over the cascading
        Hide
        David Buchmann added a comment -

        yes, i think so. you implemented that with the cascading configuration options, didn't you?

        Show
        David Buchmann added a comment - yes, i think so. you implemented that with the cascading configuration options, didn't you?
        Hide
        Lukas Kahwe added a comment -

        i guess this is now fixed?

        Show
        Lukas Kahwe added a comment - i guess this is now fixed?
        Hide
        Lukas Kahwe added a comment -

        hmm .. bah i guess its not possible to assign the ticket for you unless someone upgrades your account for which i dont have the permissions .. so just keep commenting i guess

        Show
        Lukas Kahwe added a comment - hmm .. bah i guess its not possible to assign the ticket for you unless someone upgrades your account for which i dont have the permissions .. so just keep commenting i guess
        Hide
        M. de Krijger added a comment -

        Could someone assign this to me? If not I will just comment this issue when new info is available

        Show
        M. de Krijger added a comment - Could someone assign this to me? If not I will just comment this issue when new info is available

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            David Buchmann
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: