Details

    • Type: New Feature
    • Status: Resolved
    • Priority: 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
        lsmith Lukas Kahwe added a comment -

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

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

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

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

        i guess this is now fixed?

        Show
        lsmith Lukas Kahwe added a comment - i guess this is now fixed?
        Hide
        lsmith 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
        lsmith 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
        mdekrijger 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
        mdekrijger 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:
            lsmith Lukas Kahwe
            Reporter:
            dbu David Buchmann
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: